Empty commit

This commit is contained in:
Git 2016-01-25 08:00:29 +00:00
parent 14bf9d3200
commit 565ac11cdb

View File

@ -266,6 +266,17 @@
UPDATE users_main
SET Email = '$Username@".SITE_URL."'
WHERE ID = '$UserID'");
$DB->query("
UPDATE users_history_invites AS uhi
JOIN users_main um ON um.ID = uhi.InvitedID
AND (
um.IP IN ('127.0.0.1', '0.0.0.0')
OR um.Visible = '0'
)
SET uhi.Email = '$Username@".SITE_URL."'
WHERE uhi.Email != um.Email
AND uhi.InvitedID = '$UserID'");
$EditSummary[] = 'Email history cleared';
}