Skip to content
Snippets Groups Projects
Commit a2fa91fd authored by Georg Ehrke's avatar Georg Ehrke
Browse files

init language object before using it

parent b237d037
No related branches found
No related tags found
No related merge requests found
......@@ -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") )));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment