From 81ccb29b440e98ed9147e84781df0fce34ee6542 Mon Sep 17 00:00:00 2001 From: mattab Date: Wed, 9 Oct 2013 17:03:35 +1300 Subject: Refs #4202 removing functions Piwik_Translate and Piwik_TranslateException --- core/Twig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Twig.php') diff --git a/core/Twig.php b/core/Twig.php index d0a3ddea5b..369bdf6527 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -211,7 +211,7 @@ class Twig } try { - $stringTranslated = Piwik_Translate($stringToken, $aValues); + $stringTranslated = Piwik::translate($stringToken, $aValues); } catch (Exception $e) { $stringTranslated = $stringToken; } -- cgit v1.2.3