diff options
Diffstat (limited to 'settings/ajax/setquota.php')
-rw-r--r-- | settings/ajax/setquota.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/setquota.php b/settings/ajax/setquota.php index 2e6de2b759c..f19506a0456 100644 --- a/settings/ajax/setquota.php +++ b/settings/ajax/setquota.php @@ -13,7 +13,7 @@ $username = isset($_POST["username"])?$_POST["username"]:''; if(($username === '' && !OC_User::isAdminUser(OC_User::getUser())) || (!OC_User::isAdminUser(OC_User::getUser()) && !OC_SubAdmin::isUserAccessible(OC_User::getUser(), $username))) { - $l = OC_L10N::get('core'); + $l = \OC::$server->getL10N('core'); OC_JSON::error(array( 'data' => array( 'message' => $l->t('Authentication error') ))); exit(); } |