diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-14 16:44:15 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-14 16:44:15 +0200 |
commit | b1bcc60d83866627b1b28a0eda336e0f246dbe8e (patch) | |
tree | a7100fbd8425e90c8b90888bc16a15349519038a /core/ajax/translations.php | |
parent | 721311c9099780ecc22b6b186ed79dc5c9c92271 (diff) | |
download | nextcloud-server-b1bcc60d83866627b1b28a0eda336e0f246dbe8e.tar.gz nextcloud-server-b1bcc60d83866627b1b28a0eda336e0f246dbe8e.zip |
reuse OC_L10N objects
Diffstat (limited to 'core/ajax/translations.php')
-rw-r--r-- | core/ajax/translations.php | 2 |
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())); ?> |