diff options
author | Georg Ehrke <georg@ownCloud.com> | 2013-06-12 09:40:13 +0200 |
---|---|---|
committer | Georg Ehrke <georg@ownCloud.com> | 2013-06-12 09:40:13 +0200 |
commit | a2fa91fdd5ee857fa697ee0664b178028ec03697 (patch) | |
tree | b68f26265cee9080d53e66ddeee4cb169ea43338 /settings | |
parent | b237d0379162b52269a6ea8292165d448d075f46 (diff) | |
download | nextcloud-server-a2fa91fdd5ee857fa697ee0664b178028ec03697.tar.gz nextcloud-server-a2fa91fdd5ee857fa697ee0664b178028ec03697.zip |
init language object before using it
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/removeuser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/removeuser.php b/settings/ajax/removeuser.php index bf3a34f1472..8732c6518a8 100644 --- a/settings/ajax/removeuser.php +++ b/settings/ajax/removeuser.php @@ -21,5 +21,6 @@ if( OC_User::deleteUser( $username )) { OC_JSON::success(array("data" => array( "username" => $username ))); } else{ + $l = OC_L10N::get('core'); OC_JSON::error(array("data" => array( "message" => $l->t("Unable to delete user") ))); } |