summaryrefslogtreecommitdiffstats
path: root/core/ajax/translations.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/ajax/translations.php')
-rw-r--r--core/ajax/translations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/translations.php b/core/ajax/translations.php
index e829453dbcc..c296cea572a 100644
--- a/core/ajax/translations.php
+++ b/core/ajax/translations.php
@@ -25,6 +25,6 @@ $app = isset($_POST["app"]) ? $_POST["app"] : "";
$app = OC_App::cleanAppId($app);
-$l = OC_L10N::get( $app );
+$l = \OC::$server->getL10N($app);
OC_JSON::success(array('data' => $l->getTranslations(), 'plural_form' => $l->getPluralFormString()));