tbrehm
2011-09-07 c7ef39748c0d5c37cfa0ed141e2740e229ff5751
Fixed: FS#1647 - chrooted cron jobs are not deleted.
1 files modified
2 ■■■ changed files
interface/web/client/client_del.php 2 ●●● patch | view | raw | blame | history
interface/web/client/client_del.php
@@ -81,7 +81,7 @@
        $client_group = $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = $client_id");
        
        // Get all records (sub-clients, mail, web, etc....)  of this client.
        $tables = 'client,dns_rr,dns_soa,dns_slave,ftp_user,mail_access,mail_content_filter,mail_domain,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,support_message,web_database,web_domain,web_traffic';
        $tables = 'cron,client,dns_rr,dns_soa,dns_slave,ftp_user,mail_access,mail_content_filter,mail_domain,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,support_message,web_database,web_domain,web_traffic';
        $tables_array = explode(',',$tables);
        $client_group_id = intval($client_group['groupid']);