summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/temp_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php
index 764ef57..b3cd67f 100644
--- a/includes/temp_functions.php
+++ b/includes/temp_functions.php
@@ -15,7 +15,7 @@ function account_email_delete($mailid){
group by `emailcerts`.`id`";
$dres = mysql_query($query);
while($drow = mysql_fetch_assoc($dres)){
- mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01', `disablelogin`=0 where `id`='".$drow['id']."'");
+ mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01', `disablelogin`=1 where `id`='".$drow['id']."'");
}
$query = "update `email` set `deleted`=NOW() where `id`='$mailid'";
mysql_query($query);
@@ -150,7 +150,7 @@ function account_delete($id, $arbno, $adminid){
mysql_query("update `users` set `board`='0' where `id`='$id'");
//block account
- mysql_query("update `users` set `locked`='1' where `id`='$id'");
+ mysql_query("update `users` set `locked`='1', `deleted`=Now() where `id`='$id'");
}