diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-05-05 18:46:32 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-05-05 18:46:32 +0400 |
commit | 942853979b01b7d5caba5198a0592093beda3fdd (patch) | |
tree | 5373afd2eb51c3355736ab745337856b38913d2f | |
parent | 8a4d8b9793446911541d6005a75753f48971a801 (diff) | |
parent | 8b0d355772703a0a8fb862a5f210120bca9d1bc0 (diff) |
0.6 with fix #13260.6
-rw-r--r-- | core/Access.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Access.php b/core/Access.php index b5b85abf21..0bb39263af 100644 --- a/core/Access.php +++ b/core/Access.php @@ -290,6 +290,10 @@ class Piwik_Access */ public function checkUserHasSomeAdminAccess() { + if($this->isSuperUser()) + { + return; + } $idSitesAccessible = $this->getSitesIdWithAdminAccess(); if(count($idSitesAccessible) == 0) { |