We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f150f05 commit e3ba932Copy full SHA for e3ba932
interface/web/mail/mail_user_del.php
@@ -57,6 +57,13 @@ function onBeforeDelete() {
57
$tmp_user = $app->db->queryOneRecord("SELECT id FROM spamfilter_users WHERE email = '".mysql_real_escape_string($this->dataRecord["email"])."'");
58
$app->db->datalogDelete('spamfilter_users', 'id', $tmp_user["id"]);
59
60
+ $tmp_filters = $app->db->queryAllRecords("SELECT filter_id FROM mail_user_filter WHERE mailuser_id = '".$this->id."'");
61
+ if(is_array($tmp_filters)) {
62
+ foreach($tmp_filters as $tmp) {
63
+ $app->db->datalogDelete('mail_user_filter', 'filter_id', $tmp["filter_id"]);
64
+ }
65
66
+
67
}
68
69
0 commit comments