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:
authormattab <matthieu.aubry@gmail.com>2014-06-12 08:46:26 +0400
committermattab <matthieu.aubry@gmail.com>2014-06-12 08:46:26 +0400
commit54ee416790f04fca83b8521837ca049aac55c6fd (patch)
treeae46d559edab3108bf6689c103a8c87460d69fbd /core/Plugin/ControllerAdmin.php
parentfad4acb1e92339c0fbd1ba221791459d4a9f910d (diff)
Factoring out the userPreferences in own object to allow reuse
Diffstat (limited to 'core/Plugin/ControllerAdmin.php')
-rw-r--r--core/Plugin/ControllerAdmin.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/Plugin/ControllerAdmin.php b/core/Plugin/ControllerAdmin.php
index 2e39b7f852..4254cdbb2c 100644
--- a/core/Plugin/ControllerAdmin.php
+++ b/core/Plugin/ControllerAdmin.php
@@ -206,13 +206,4 @@ abstract class ControllerAdmin extends Controller
$view->phpVersion = PHP_VERSION;
$view->phpIsNewEnough = version_compare($view->phpVersion, '5.3.0', '>=');
}
-
- protected function getDefaultWebsiteId()
- {
- $sitesId = \Piwik\Plugins\SitesManager\API::getInstance()->getSitesIdWithAdminAccess();
- if (!empty($sitesId)) {
- return $sitesId[0];
- }
- return parent::getDefaultWebsiteId();
- }
}