diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2014-01-23 05:26:57 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2014-01-23 05:26:57 +0400 |
commit | 81e7f870124d2356c1784355e54fb4716901dfec (patch) | |
tree | 0162170ba0d4e5d3e206897eeed50fd76285a2a2 /plugins/CoreHome/Controller.php | |
parent | 0c0ab33efd14b4223ef56f32c46879160f3ef7d5 (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 'plugins/CoreHome/Controller.php')
-rw-r--r-- | plugins/CoreHome/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/Controller.php b/plugins/CoreHome/Controller.php index 19d25484aa..47b5a2e60d 100644 --- a/plugins/CoreHome/Controller.php +++ b/plugins/CoreHome/Controller.php @@ -189,7 +189,7 @@ class Controller extends \Piwik\Plugin\Controller { $view = new View('@CoreHome/getDonateForm'); if (Common::getRequestVar('widget', false) - && Piwik::isUserIsSuperUser() + && Piwik::hasUserSuperUserAccess() ) { $view->footerMessage = Piwik::translate('CoreHome_OnlyForAdmin'); } |