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 06:03:00 +0400
committerThomas Steur <thomas.steur@gmail.com>2014-01-23 06:03:00 +0400
commitdf54712a053b8ea326b2389a245de2a4b35fa4f7 (patch)
treec742dee2c363872c1e2411b3ae0e89dcb335df29 /plugins/Login/Controller.php
parent81e7f870124d2356c1784355e54fb4716901dfec (diff)
refs #4564 introducing some more new methods for 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 'plugins/Login/Controller.php')
-rw-r--r--plugins/Login/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php
index c814bd7b6a..afa9dc2254 100644
--- a/plugins/Login/Controller.php
+++ b/plugins/Login/Controller.php
@@ -382,7 +382,7 @@ class Controller extends \Piwik\Plugin\Controller
*/
protected function getUserInformation($loginMail)
{
- Piwik::setUserIsSuperUser();
+ Piwik::setUserHasSuperUserAccess();
$user = null;
if ($loginMail == Piwik::getConfigSuperUserEmail()