diff options
Diffstat (limited to 'plugins/Dashboard/Controller.php')
-rw-r--r-- | plugins/Dashboard/Controller.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Dashboard/Controller.php b/plugins/Dashboard/Controller.php index 3f9cd1a6ad..f87c5339a5 100644 --- a/plugins/Dashboard/Controller.php +++ b/plugins/Dashboard/Controller.php @@ -130,12 +130,10 @@ class Piwik_Dashboard_Controller extends Piwik_Controller //in a 'master' controller for statistics (tracs #91) protected function setGeneralVariablesView($view) { - // date $view->date = $this->strDate; $oDate = new Piwik_Date($this->strDate); $view->prettyDate = $oDate->get("l jS F Y"); - // period $currentPeriod = Piwik_Common::getRequestVar('period'); $otherPeriodsAvailable = array('day','week','month','year'); @@ -147,10 +145,7 @@ class Piwik_Dashboard_Controller extends Piwik_Controller $view->period = $currentPeriod; $view->otherPeriods = $otherPeriodsAvailable; - - // other $view->idSite = Piwik_Common::getRequestVar('idSite'); - $view->userLogin = Piwik::getCurrentUserLogin(); $view->sites = Piwik_SitesManager_API::getSitesWithAtLeastViewAccess(); $view->url = Piwik_Url::getCurrentUrl(); |