Some work on account deletion

This commit is contained in:
Christian Vogeley
2014-08-14 20:17:57 +02:00
parent 94ed44e76e
commit fc94a638cd
5 changed files with 99 additions and 6 deletions

View File

@@ -672,7 +672,7 @@ function admin_page_users(&$a){
check_form_security_token_redirectOnErr('/admin/users', 'admin_users', 't');
// delete user
require_once("include/Contact.php");
account_remove($uid,true);
account_remove($uid,true,false);
notice( sprintf(t("User '%s' deleted"), $account[0]['account_email']) . EOL);
}; break;