Commit ba6a1b34 authored by Nigel McNie's avatar Nigel McNie
Browse files

Bugfix for my previous refactor, needed to rename all instances of $emailsuffix.

(cherry picked from commit dfa33e06)
parent 2a862c38
......@@ -680,7 +680,7 @@ function delete_user($userid) {
// 'deleted.[timestamp]'
execute_sql('UPDATE {artefact_internal_profile_email}
SET email = email || ?
WHERE owner = ?', array($emailsuffix, $userid));
WHERE owner = ?', array($datasuffix, $userid));
// Remove user from any groups they're in, invited to or want to be in
delete_records('group_member', 'member', $userid);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment