diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-02-10 11:26:40 +0300 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-02-10 11:26:40 +0300 |
commit | 8dace409b0895d3320f389b978820bb722b60630 (patch) | |
tree | 735823c771d700211976db19db5b0141b243a779 /plugins/SitesManager/API.php | |
parent | e6d09093dbb197dbfd51e9803d5ee4a64372cac5 (diff) |
refs #1122 - fix usage
Diffstat (limited to 'plugins/SitesManager/API.php')
-rw-r--r-- | plugins/SitesManager/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/API.php b/plugins/SitesManager/API.php index a441eac2bd..157abada8b 100644 --- a/plugins/SitesManager/API.php +++ b/plugins/SitesManager/API.php @@ -265,7 +265,7 @@ class Piwik_SitesManager_API { Piwik::checkUserIsSuperUser(); - $idSites = Piwik_SitesManager_API::getAllSitesId(); + $idSites = Piwik_SitesManager_API::getInstance()->getAllSitesId(); if(!in_array($idSite, $idSites)) { throw new Exception("website id = $idSite not found"); |