summaryrefslogtreecommitdiffstats
path: root/settings/ajax/setlanguage.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/setlanguage.php')
-rw-r--r--settings/ajax/setlanguage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/setlanguage.php b/settings/ajax/setlanguage.php
index 94773f3dc70..a3988db85bb 100644
--- a/settings/ajax/setlanguage.php
+++ b/settings/ajax/setlanguage.php
@@ -1,6 +1,6 @@
<?php
-$l=OC_L10N::get('settings');
+$l = \OC::$server->getL10N('settings');
OC_JSON::checkLoggedIn();
OCP\JSON::callCheck();