Skip to content
Snippets Groups Projects
Commit 3721d3e9 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#764 - spamfilter not well updated after change of domain

parent da1a7c0c
No related branches found
No related tags found
2 merge requests!46Master,!21Master
......@@ -298,6 +298,11 @@ class page_action extends tform_actions {
}
}
//* Delete the old spamfilter record
$tmp = $app->db->queryOneRecord("SELECT id FROM spamfilter_users WHERE email = '@".mysql_real_escape_string($this->oldDataRecord["domain"])."'");
$app->db->datalogDelete('spamfilter_users', 'id', $tmp["id"]);
unset($tmp);
} // end if domain name changed
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment