summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-31 10:05:59 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-31 10:08:22 +0200
commitd0266c0bf85e431a3b1b39cbfaced4e8df52a264 (patch)
treedfea49fa907a3b7543f8849077d75cfc29a54279 /core/js/config.php
parent23137f4798cb89b188329050a85f2f3a706947c5 (diff)
downloadnextcloud-server-d0266c0bf85e431a3b1b39cbfaced4e8df52a264.tar.gz
nextcloud-server-d0266c0bf85e431a3b1b39cbfaced4e8df52a264.zip
Use public api for getting l10n
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php
index b61694522db..6994f2ed8a2 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -14,7 +14,7 @@ header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// Enable l10n support
-$l = OC_L10N::get('core');
+$l = \OC::$server->getL10N('core');
// Enable OC_Defaults support
$defaults = new OC_Defaults();