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

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

parent 49d57acc
......@@ -679,7 +679,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));
// mark all groups the user owns as deleted
if ($groupids = get_column('group', 'id', 'owner', $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