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 /core/Plugin/MetadataLoader.php
parent98935b7cca73c74dac77d3661239a2055e6b8f8f (diff)
Refs #4202 removing functions Piwik_Translate and Piwik_TranslateException
Diffstat (limited to 'core/Plugin/MetadataLoader.php')
-rw-r--r--core/Plugin/MetadataLoader.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Plugin/MetadataLoader.php b/core/Plugin/MetadataLoader.php
index 789f485f0b..fc9e6808a6 100644
--- a/core/Plugin/MetadataLoader.php
+++ b/core/Plugin/MetadataLoader.php
@@ -12,6 +12,7 @@ namespace Piwik\Plugin;
use Exception;
use Piwik\Common;
+use Piwik\Piwik;
use Piwik\PluginsManager;
use Piwik\Version;
@@ -69,7 +70,7 @@ class MetadataLoader
{
$descriptionKey = $this->pluginName . '_PluginDescription';
return array(
- 'description' => Piwik_Translate($descriptionKey),
+ 'description' => Piwik::translate($descriptionKey),
'homepage' => 'http://piwik.org/',
'author' => 'Piwik',
'author_homepage' => 'http://piwik.org/',