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 2e436f8d84e..a6433b1964a 100644
--- a/core/ajax/translations.php
+++ b/core/ajax/translations.php
@@ -26,7 +26,7 @@ require_once('../../lib/base.php');
$app = $_POST["app"];
-$l = new OC_L10N( $app );
+$l = OC_L10N::get( $app );
OC_JSON::success(array('data' => $l->getTranslations()));
?>