summaryrefslogtreecommitdiffstats
path: root/settings/ajax/uninstallapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/uninstallapp.php')
-rw-r--r--settings/ajax/uninstallapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/uninstallapp.php b/settings/ajax/uninstallapp.php
index 5c6371dc16f..cae7c33f292 100644
--- a/settings/ajax/uninstallapp.php
+++ b/settings/ajax/uninstallapp.php
@@ -14,6 +14,6 @@ $result = OC_App::removeApp($appId);
if($result !== false) {
OC_JSON::success(array('data' => array('appid' => $appId)));
} else {
- $l = OC_L10N::get('settings');
+ $l = \OC::$server->getL10N('settings');
OC_JSON::error(array("data" => array( "message" => $l->t("Couldn't remove app.") )));
}