diff options
author | INOPIAE <inopiae@cacert.org> | 2013-01-07 20:14:07 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-01-07 20:14:07 +0100 |
commit | dc2d7769346311943254a13aa5b4ffd597a43701 (patch) | |
tree | 469db28ad9e867c6a7aac10d1614935a11769f2c | |
parent | a2f9b3f2f699f26fff8e7b816ef330d8c32bede4 (diff) | |
download | cacert-devel-dc2d7769346311943254a13aa5b4ffd597a43701.tar.gz cacert-devel-dc2d7769346311943254a13aa5b4ffd597a43701.tar.xz cacert-devel-dc2d7769346311943254a13aa5b4ffd597a43701.zip |
bug 893: adjusted email cert delete to Login=0
-rw-r--r-- | includes/temp_functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php index cdf3a98..681b0c7 100644 --- a/includes/temp_functions.php +++ b/includes/temp_functions.php @@ -14,7 +14,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' where `id`='".$drow['id']."'"); + mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01', `disablelogin`=0 where `id`='".$drow['id']."'"); } $query = "update `email` set `deleted`=NOW() where `id`='$mailid'"; mysql_query($query); |