diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-09-14 06:37:21 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-09-14 06:37:21 +0400 |
commit | 8d11a25fa7f41212584a58998c59884a4b9836d4 (patch) | |
tree | 39d6e3892346288619987f32a562f7e102c6f34c /plugins/SitesManager/Controller.php | |
parent | 4e910af4d770e19bcc7f953840662ee8a4c08b20 (diff) |
Moving PHP/server settings getter/setter to SettingsServer class
Diffstat (limited to 'plugins/SitesManager/Controller.php')
-rw-r--r-- | plugins/SitesManager/Controller.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SitesManager/Controller.php b/plugins/SitesManager/Controller.php index 7a03152256..5629e009e9 100644 --- a/plugins/SitesManager/Controller.php +++ b/plugins/SitesManager/Controller.php @@ -12,15 +12,15 @@ namespace Piwik\Plugins\SitesManager; use Exception; use Piwik\API\ResponseBuilder; -use Piwik\DataTable\Renderer\Json; -use Piwik\Piwik; use Piwik\Common; +use Piwik\DataTable\Renderer\Json; use Piwik\Date; use Piwik\IP; -use Piwik\Plugins\SitesManager\API; -use Piwik\View; -use Piwik\Url; +use Piwik\Piwik; +use Piwik\SettingsServer; use Piwik\Site; +use Piwik\Url; +use Piwik\View; /** * @@ -54,7 +54,7 @@ class Controller extends \Piwik\Controller\Admin $view->adminSitesCount = count($sites); $timezones = API::getInstance()->getTimezonesList(); - $view->timezoneSupported = Piwik::isTimezoneSupportEnabled(); + $view->timezoneSupported = SettingsServer::isTimezoneSupportEnabled(); $view->timezones = Common::json_encode($timezones); $view->defaultTimezone = API::getInstance()->getDefaultTimezone(); |