From 7c619fc71097263ce1b8b0d46171d18773265e07 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Mon, 4 Apr 2011 13:42:09 +0000 Subject: [PATCH] Fixed: FS#1568 - remote client_delete dont remove group --- interface/lib/classes/remoting_lib.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/lib/classes/remoting_lib.inc.php b/interface/lib/classes/remoting_lib.inc.php index 1a62b23bc..ecd71bf35 100644 --- a/interface/lib/classes/remoting_lib.inc.php +++ b/interface/lib/classes/remoting_lib.inc.php @@ -720,6 +720,8 @@ class remoting_lib { $client_id = intval($client_id); $sql = "DELETE FROM sys_user WHERE client_id = $client_id"; $app->db->query($sql); + $sql = "DELETE FROM sys_group WHERE client_id = $client_id"; + $app->db->query($sql); } function datalogSave($action,$primary_id, $record_old, $record_new) { -- GitLab