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/Controller.php | |
parent | e6d09093dbb197dbfd51e9803d5ee4a64372cac5 (diff) |
refs #1122 - fix usage
Diffstat (limited to 'plugins/SitesManager/Controller.php')
-rw-r--r-- | plugins/SitesManager/Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php index 275e50f50d..bd349b16dc 100644 --- a/plugins/SitesManager/Controller.php +++ b/plugins/SitesManager/Controller.php @@ -19,10 +19,10 @@ class Piwik_SitesManager_Controller extends Piwik_Controller function index() { $view = Piwik_View::factory('SitesManager'); - $sites = Piwik_SitesManager_API::getSitesWithAdminAccess(); + $sites = Piwik_SitesManager_API::getInstance()->getSitesWithAdminAccess(); foreach($sites as &$site) { - $site['alias_urls'] = Piwik_SitesManager_API::getSiteUrlsFromId($site['idsite']); + $site['alias_urls'] = Piwik_SitesManager_API::getInstance()->getSiteUrlsFromId($site['idsite']); } $view->adminSites = $sites; $this->setGeneralVariablesView($view); |