diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-01-12 04:44:22 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-01-12 04:44:22 +0300 |
commit | ff9e415fb23ae06aa68a73e2c3dcf32ff092444b (patch) | |
tree | 5aa0963d3283010a14e67107736f218765dd2005 /plugins/API/API.php | |
parent | 636d5400a7aee9fff5b3966b06c5d4e248ce825c (diff) |
Simplified get from container with new shorter method
Diffstat (limited to 'plugins/API/API.php')
-rw-r--r-- | plugins/API/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php index 8c19b0a9b8..1f789011b0 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -325,7 +325,7 @@ class API extends \Piwik\Plugin\API { if ($language) { /** @var Translator $translator */ - $translator = StaticContainer::getContainer()->get('Piwik\Translation\Translator'); + $translator = StaticContainer::get('Piwik\Translation\Translator'); $translator->setCurrentLanguage($language); } |