Small change to allow the same user (by email) be deleted more than

once.  Also some security in making deleted usernames very hard to guess.
This commit is contained in:
moodler 2002-11-18 12:21:27 +00:00
parent e1e499e02c
commit dfe952f2ea

View File

@ -110,7 +110,7 @@
exit;
} else if (!$user->deleted) {
$user->deleted = "1";
$user->username = $user->email; // Remember it just in case
$user->username = "$user->email.".time(); // Remember it just in case
$user->email = ""; // Clear this field to free it up
$user->timemodified = time();
if (update_record("user", $user)) {