mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Update settings/ajax/removeuser.php
$l->t added for error message
This commit is contained in:
parent
de987b475d
commit
93496a32cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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") )));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue