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:
authormattab <matthieu.aubry@gmail.com>2013-10-09 08:03:35 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 08:03:35 +0400
commit81ccb29b440e98ed9147e84781df0fce34ee6542 (patch)
tree378a809d208f6a2cc188489017b87a98501023f2 /plugins/CustomVariables/Controller.php
parent98935b7cca73c74dac77d3661239a2055e6b8f8f (diff)
Refs #4202 removing functions Piwik_Translate and Piwik_TranslateException
Diffstat (limited to 'plugins/CustomVariables/Controller.php')
-rw-r--r--plugins/CustomVariables/Controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CustomVariables/Controller.php b/plugins/CustomVariables/Controller.php
index 449349dd2c..458b5da629 100644
--- a/plugins/CustomVariables/Controller.php
+++ b/plugins/CustomVariables/Controller.php
@@ -10,6 +10,7 @@
*/
namespace Piwik\Plugins\CustomVariables;
+use Piwik\Piwik;
use Piwik\View;
use Piwik\ViewDataTable;
@@ -21,7 +22,7 @@ class Controller extends \Piwik\Controller
public function index($fetch = false)
{
return View::singleReport(
- Piwik_Translate('CustomVariables_CustomVariables'),
+ Piwik::translate('CustomVariables_CustomVariables'),
$this->getCustomVariables(true), $fetch);
}