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-10 05:19:53 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-10 05:19:53 +0400
commit13b35fa25a615366c78ef682798e40e83f961713 (patch)
tree9680b1dbd5f16202cde663b555aa816c40846dca /plugins/ImageGraph
parentd56b138464bcd95f3b723c042ab52dedd1452a92 (diff)
Refs #4208 Remove translate singleton
Diffstat (limited to 'plugins/ImageGraph')
-rw-r--r--plugins/ImageGraph/API.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImageGraph/API.php b/plugins/ImageGraph/API.php
index a9b59f240f..48a28f1f7b 100644
--- a/plugins/ImageGraph/API.php
+++ b/plugins/ImageGraph/API.php
@@ -155,7 +155,7 @@ class API
$useUnicodeFont = array(
'am', 'ar', 'el', 'fa', 'fi', 'he', 'ja', 'ka', 'ko', 'te', 'th', 'zh-cn', 'zh-tw',
);
- $languageLoaded = Translate::getInstance()->getLanguageLoaded();
+ $languageLoaded = Translate::getLanguageLoaded();
$font = self::getFontPath(self::DEFAULT_FONT);
if (in_array($languageLoaded, $useUnicodeFont)) {
$unicodeFontPath = self::getFontPath(self::UNICODE_FONT);