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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-02-03 01:09:02 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-02-03 01:09:02 +0300
commitf79e473fe2f37681d9c5bb71d21907a890bbf714 (patch)
treee1abc81fac84685a47ea06159a4b74a6b32a9741 /core/Tracker/Request.php
parente3faf18f9ed0368861f542e80f3dbaeb92fdeb8a (diff)
Removed Piwik\Registry and replaced its usage with the container
Diffstat (limited to 'core/Tracker/Request.php')
-rw-r--r--core/Tracker/Request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php
index a38e599b28..23f01a555b 100644
--- a/core/Tracker/Request.php
+++ b/core/Tracker/Request.php
@@ -11,6 +11,7 @@ namespace Piwik\Tracker;
use Exception;
use Piwik\Common;
use Piwik\Config;
+use Piwik\Container\StaticContainer;
use Piwik\Cookie;
use Piwik\Exception\InvalidRequestParameterException;
use Piwik\Exception\UnexpectedWebsiteFoundException;
@@ -18,7 +19,6 @@ use Piwik\IP;
use Piwik\Network\IPUtils;
use Piwik\Piwik;
use Piwik\Plugins\CustomVariables\CustomVariables;
-use Piwik\Registry;
use Piwik\Tracker;
/**
@@ -138,7 +138,7 @@ class Request
Piwik::postEvent('Request.initAuthenticationObject');
/** @var \Piwik\Auth $auth */
- $auth = Registry::get('auth');
+ $auth = StaticContainer::get('Piwik\Auth');
$auth->setTokenAuth($tokenAuth);
$auth->setLogin(null);
$access = $auth->authenticate();