Skip to content
Snippets Groups Projects
Unverified Commit 3dbdfd4a authored by Helmo's avatar Helmo
Browse files

Delete mail_domain after mail_user records

parent 221728d6
No related branches found
No related tags found
No related merge requests found
......@@ -413,7 +413,7 @@ class remoting_client extends remoting {
$app->db->query("DELETE FROM sys_user WHERE client_id = ?", $client_id);
//* Delete all records (sub-clients, mail, web, etc....) of this client.
$tables = 'cron,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_database_user,web_domain,web_traffic,domain,mail_mailinglist,client,spamfilter_wblist';
$tables = 'cron,dns_rr,dns_soa,dns_slave,ftp_user,mail_access,mail_content_filter,mail_forwarding,mail_get,mail_user,mail_user_filter,shell_user,spamfilter_users,mail_domain,support_message,web_database,web_database_user,web_domain,web_traffic,domain,mail_mailinglist,client,spamfilter_wblist';
$tables_array = explode(',', $tables);
$client_group_id = $app->functions->intval($client_group['groupid']);
if($client_group_id > 1) {
......
......@@ -62,12 +62,12 @@ class page_action extends tform_actions {
'ftp_user' => 'username',
'mail_access' => 'source',
'mail_content_filter' => '',
'mail_domain' => 'domain',
'mail_forwarding' => '',
'mail_get' => '',
'mail_mailinglist' => 'listname',
'mail_user' => 'email',
'mail_user_filter' => '',
'mail_domain' => 'domain',
'shell_user' => 'username',
'spamfilter_users' => '',
'spamfilter_wblist' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment