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 /core/Session | |
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 'core/Session')
-rw-r--r-- | core/Session/SaveHandler/DbTable.php | 8 | ||||
-rw-r--r-- | core/Session/SessionNamespace.php (renamed from core/Session/Namespace.php) | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/core/Session/SaveHandler/DbTable.php b/core/Session/SaveHandler/DbTable.php index a8bedd44ef..ddff2c167f 100644 --- a/core/Session/SaveHandler/DbTable.php +++ b/core/Session/SaveHandler/DbTable.php @@ -9,13 +9,19 @@ * @package Piwik */ +namespace Piwik\Session\SaveHandler; + +use Zend_Session; +use Zend_Session_SaveHandler_Interface; +use true; + /** * Database-backed session save handler * * @package Piwik * @subpackage Session */ -class Piwik_Session_SaveHandler_DbTable implements Zend_Session_SaveHandler_Interface +class DbTable implements Zend_Session_SaveHandler_Interface { protected $config; protected $maxLifetime; diff --git a/core/Session/Namespace.php b/core/Session/SessionNamespace.php index d46ca799d7..63ede5f45e 100644 --- a/core/Session/Namespace.php +++ b/core/Session/SessionNamespace.php @@ -8,7 +8,10 @@ * @category Piwik * @package Piwik */ +namespace Piwik\Session; + use Piwik\Common; +use Zend_Session_Namespace; /** * Session namespace. @@ -16,7 +19,7 @@ use Piwik\Common; * @package Piwik * @subpackage Session */ -class Piwik_Session_Namespace extends Zend_Session_Namespace +class SessionNamespace extends Zend_Session_Namespace { /** * @param string $namespace |