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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-05 18:46:32 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-05-05 18:46:32 +0400
commit942853979b01b7d5caba5198a0592093beda3fdd (patch)
tree5373afd2eb51c3355736ab745337856b38913d2f
parent8a4d8b9793446911541d6005a75753f48971a801 (diff)
parent8b0d355772703a0a8fb862a5f210120bca9d1bc0 (diff)
0.6 with fix #13260.6
-rw-r--r--core/Access.php4
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)
{