Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2014-01-23 05:26:57 +0400
committerThomas Steur <thomas.steur@gmail.com>2014-01-23 05:26:57 +0400
commit81e7f870124d2356c1784355e54fb4716901dfec (patch)
tree0162170ba0d4e5d3e206897eeed50fd76285a2a2 /misc/others
parent0c0ab33efd14b4223ef56f32c46879160f3ef7d5 (diff)
refs #4564 introducing new methods to make user a user has superuser access. Old methods will still work but are marked as deprecated and they will be removed in a future release
Diffstat (limited to 'misc/others')
-rwxr-xr-xmisc/others/geoipUpdateRows.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/others/geoipUpdateRows.php b/misc/others/geoipUpdateRows.php
index ff4613ee4a..cc1d03d11f 100755
--- a/misc/others/geoipUpdateRows.php
+++ b/misc/others/geoipUpdateRows.php
@@ -45,7 +45,7 @@ $count = Db::fetchOne($query);
// when script run via browser, check for Super User & output html page to do conversion via AJAX
if (!Common::isPhpCliMode()) {
try {
- Piwik::checkUserIsSuperUser();
+ Piwik::checkUserHasSuperUserAccess();
} catch (Exception $e) {
Log::error('[error] You must be logged in as Super User to run this script. Please login in to Piwik and refresh this page.');
exit;