diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-12-04 05:04:02 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-12-04 05:04:02 +0300 |
commit | 9d71fc8e92e5b434fd69c7ab4b83a69169064cf3 (patch) | |
tree | 8cb2798746e4defb1a978cd758df72006ec419ae /core/Piwik.php | |
parent | 784b738f9c4a92c42a9d8e6b85c28a82a3af0a2f (diff) |
Tracker refactoring
Diffstat (limited to 'core/Piwik.php')
-rw-r--r-- | core/Piwik.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Piwik.php b/core/Piwik.php index bc5244dd52..b4ce8e0694 100644 --- a/core/Piwik.php +++ b/core/Piwik.php @@ -299,8 +299,10 @@ class Piwik public static function hasUserSuperUserAccess() { try { - self::checkUserHasSuperUserAccess(); - return true; + $hasAccess = Access::getInstance()->hasSuperUserAccess(); + + return $hasAccess; + } catch (Exception $e) { return false; } |