summaryrefslogtreecommitdiffstats
path: root/settings/ajax/removeuser.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-09-04 12:54:04 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2012-09-04 12:54:04 +0300
commit93496a32cc3c28d36936d089857dd6fca870c0f8 (patch)
tree95f03e8668f4e4d84f62ec52412df76837309710 /settings/ajax/removeuser.php
parentde987b475d2e2868e1ef144cc7df091893e73b66 (diff)
downloadnextcloud-server-93496a32cc3c28d36936d089857dd6fca870c0f8.tar.gz
nextcloud-server-93496a32cc3c28d36936d089857dd6fca870c0f8.zip
Update settings/ajax/removeuser.php
$l->t added for error message
Diffstat (limited to 'settings/ajax/removeuser.php')
-rw-r--r--settings/ajax/removeuser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/removeuser.php b/settings/ajax/removeuser.php
index 666adb09d2d..6b11fa5c4fb 100644
--- a/settings/ajax/removeuser.php
+++ b/settings/ajax/removeuser.php
@@ -19,5 +19,5 @@ if( OC_User::deleteUser( $username )) {
OC_JSON::success(array("data" => array( "username" => $username )));
}
else{
- OC_JSON::error(array("data" => array( "message" => "Unable to delete user" )));
+ OC_JSON::error(array("data" => array( "message" => $l->t("Unable to delete user") )));
}