From ff9e415fb23ae06aa68a73e2c3dcf32ff092444b Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Mon, 12 Jan 2015 14:44:22 +1300 Subject: Simplified get from container with new shorter method --- core/Date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Date.php') diff --git a/core/Date.php b/core/Date.php index 4d89d2c7bf..909f7adb0e 100644 --- a/core/Date.php +++ b/core/Date.php @@ -609,7 +609,7 @@ class Date */ public function getLocalized($template) { - $translator = StaticContainer::getContainer()->get('Piwik\Translation\Translator'); + $translator = StaticContainer::get('Piwik\Translation\Translator'); $day = $this->toString('j'); $dayOfWeek = $this->toString('N'); $monthOfYear = $this->toString('n'); -- cgit v1.2.3