We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da1a7c0 commit 3721d3eCopy full SHA for 3721d3e
1 file changed
interface/web/mail/mail_domain_edit.php
@@ -298,6 +298,11 @@ function onAfterUpdate() {
298
}
299
300
301
+ //* Delete the old spamfilter record
302
+ $tmp = $app->db->queryOneRecord("SELECT id FROM spamfilter_users WHERE email = '@".mysql_real_escape_string($this->oldDataRecord["domain"])."'");
303
+ $app->db->datalogDelete('spamfilter_users', 'id', $tmp["id"]);
304
+ unset($tmp);
305
+
306
} // end if domain name changed
307
308
0 commit comments