diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-07-31 20:46:40 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-07-31 20:46:40 +0400 |
commit | 11752942f0e6526a0d254af2bb2b101491238f29 (patch) | |
tree | b3434b12326b5d84b42312c546c7ec4ee13ab10e /plugins/Dashboard/Controller.php | |
parent | d9d4598084aa51d95bf3eab0e961d3c27161cbb8 (diff) |
Refs #3741 PHP Namespace conversion continued: Tracker classes,
renaming Unzip to Uncompress,
Renaming Tracker/Referer to Tracker/Referrer,
and few more
Diffstat (limited to 'plugins/Dashboard/Controller.php')
-rw-r--r-- | plugins/Dashboard/Controller.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Dashboard/Controller.php b/plugins/Dashboard/Controller.php index aa9b58ea26..7ffe0dc79e 100644 --- a/plugins/Dashboard/Controller.php +++ b/plugins/Dashboard/Controller.php @@ -11,6 +11,7 @@ use Piwik\DataTable\Renderer\Json; use Piwik\Piwik; use Piwik\Common; use Piwik\Controller; +use Piwik\Session\SessionNamespace; use Piwik\View; use Piwik\Db; use Piwik\WidgetsList; @@ -95,7 +96,7 @@ class Piwik_Dashboard_Controller extends Controller $layout = $this->dashboard->getDefaultLayout(); $idDashboard = Common::getRequestVar('idDashboard', 1, 'int'); if (Piwik::isUserIsAnonymous()) { - $session = new Piwik_Session_Namespace("Piwik_Dashboard"); + $session = new SessionNamespace("Piwik_Dashboard"); $session->dashboardLayout = $layout; $session->setExpirationSeconds(1800); } else { @@ -259,7 +260,7 @@ class Piwik_Dashboard_Controller extends Controller $idDashboard = Common::getRequestVar('idDashboard', 1, 'int'); $name = Common::getRequestVar('name', '', 'string'); if (Piwik::isUserIsAnonymous()) { - $session = new Piwik_Session_Namespace("Piwik_Dashboard"); + $session = new SessionNamespace("Piwik_Dashboard"); $session->dashboardLayout = $layout; $session->setExpirationSeconds(1800); } else { @@ -297,7 +298,7 @@ class Piwik_Dashboard_Controller extends Controller { if (Piwik::isUserIsAnonymous()) { - $session = new Piwik_Session_Namespace("Piwik_Dashboard"); + $session = new SessionNamespace("Piwik_Dashboard"); if (!isset($session->dashboardLayout)) { return $this->dashboard->getDefaultLayout(); |