diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-10 05:19:53 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-10 05:19:53 +0400 |
commit | 13b35fa25a615366c78ef682798e40e83f961713 (patch) | |
tree | 9680b1dbd5f16202cde663b555aa816c40846dca /plugins/ImageGraph | |
parent | d56b138464bcd95f3b723c042ab52dedd1452a92 (diff) |
Refs #4208 Remove translate singleton
Diffstat (limited to 'plugins/ImageGraph')
-rw-r--r-- | plugins/ImageGraph/API.php | 2 |
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); |