summaryrefslogtreecommitdiffstats
path: root/lib/public/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/util.php')
-rw-r--r--lib/public/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 87b7a4f19db..bc1b90a2c89 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -132,7 +132,7 @@ class Util {
* @return \OC_L10N
*/
public static function getL10N($application, $language = null) {
- return \OC_L10N::get($application, $language);
+ return \OC::$server->getL10N($application, $language);
}
/**