Account deletion

fix multi user deletion, add confirmation message
This commit is contained in:
Christian Vogeley
2014-08-15 14:56:17 +02:00
parent 21adbad4c1
commit f36253b7a8
2 changed files with 3 additions and 1 deletions

View File

@@ -639,7 +639,7 @@ function admin_page_users_post(&$a){
if (x($_POST,'page_users_delete')){
require_once("include/Contact.php");
foreach($users as $uid){
account_remove($uid,true);
account_remove($uid,true,false);
}
notice( sprintf( tt("%s user deleted", "%s users deleted", count($users)), count($users)) );
}