diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-03 01:09:02 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-03 01:09:02 +0300 |
commit | f79e473fe2f37681d9c5bb71d21907a890bbf714 (patch) | |
tree | e1abc81fac84685a47ea06159a4b74a6b32a9741 /plugins/Login/Controller.php | |
parent | e3faf18f9ed0368861f542e80f3dbaeb92fdeb8a (diff) |
Removed Piwik\Registry and replaced its usage with the container
Diffstat (limited to 'plugins/Login/Controller.php')
-rw-r--r-- | plugins/Login/Controller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Login/Controller.php b/plugins/Login/Controller.php index 1e9c8bc9dd..270b788380 100644 --- a/plugins/Login/Controller.php +++ b/plugins/Login/Controller.php @@ -13,6 +13,7 @@ use Piwik\Access; use Piwik\Auth as AuthInterface; use Piwik\Common; use Piwik\Config; +use Piwik\Container\StaticContainer; use Piwik\Cookie; use Piwik\Log; use Piwik\Nonce; @@ -60,7 +61,7 @@ class Controller extends \Piwik\Plugin\Controller $this->passwordResetter = $passwordResetter; if (empty($auth)) { - $auth = \Piwik\Registry::get('auth'); + $auth = StaticContainer::get('Piwik\Auth'); } $this->auth = $auth; |