tbrehm
2012-08-10 d42373800ab0bc6a2b27787774d223934000f715
Fixed: FS#2304 - Users spamfilters are not deleted when deleting a domain
1 files modified
2 ■■■ changed files
interface/web/mail/mail_domain_del.php 2 ●●● patch | view | raw | blame | history
interface/web/mail/mail_domain_del.php
@@ -78,7 +78,7 @@
        }
        
        // Delete all spamfilters that belong to this domain
        $records = $app->db->queryAllRecords("SELECT id FROM spamfilter_users WHERE email = '@".$app->db->quote($domain)."'");
        $records = $app->db->queryAllRecords("SELECT id FROM spamfilter_users WHERE email = '%@".$app->db->quote($domain)."'");
        foreach($records as $rec) {
            $app->db->datalogDelete('spamfilter_users','id',$rec['id']);
        }