bug 1138: removed blank admin log emtry during account delete routine
authormam <m.maengel@project-biz.de>
Fri, 21 Feb 2014 21:27:48 +0000 (22:27 +0100)
committermam <m.maengel@project-biz.de>
Fri, 21 Feb 2014 21:27:48 +0000 (22:27 +0100)
includes/notary.inc.php

index 836f039..0695450 100644 (file)
@@ -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."',