Commit 3721d3e9 authored by tbrehm's avatar tbrehm
Browse files

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

parent da1a7c0c
......@@ -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
}
......
Markdown is supported
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