summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormam <m.maengel@project-biz.de>2014-02-21 22:27:48 +0100
committermam <m.maengel@project-biz.de>2014-02-21 22:27:48 +0100
commit1a632371f2c9e0770ec0b8f871c7d6bc8c6b2506 (patch)
treebbe6c60f11f16d561f6b7673dabe64ac1fdf1d8d
parent0e67101f0a27a85747058be10e1dd5642066e64e (diff)
downloadcacert-devel-1a632371f2c9e0770ec0b8f871c7d6bc8c6b2506.tar.gz
cacert-devel-1a632371f2c9e0770ec0b8f871c7d6bc8c6b2506.tar.xz
cacert-devel-1a632371f2c9e0770ec0b8f871c7d6bc8c6b2506.zip
bug 1138: removed blank admin log emtry during account delete routine
-rw-r--r--includes/notary.inc.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 836f039..0695450 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -941,11 +941,6 @@ function get_user_agreement($memid){
}
//change personal information to arbitration number and DOB=1900-01-01
- $query = "select `fname`,`mname`,`lname`,`suffix`,`dob` from `users` where `id`='$userid'";
- $details = mysql_fetch_assoc(mysql_query($query));
- $query = "insert into `adminlog` set `when`=NOW(),`old-lname`='${details['lname']}',`old-dob`='${details['dob']}',
- `new-lname`='$arbno',`new-dob`='1900-01-01',`uid`='$id',`adminid`='".$adminid."'";
- mysql_query($query);
$query = "update `users` set `fname`='".$arbno."',
`mname`='".$arbno."',
`lname`='".$arbno."',