From 91f9bb831be514ee6cb513a87e7a468416f9abb4 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 2 Dec 2015 22:17:01 +0000 Subject: [PATCH] Fix ACL does not get removed when a group is deleted --- admin/inc/class.admin_cmd_delete_account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_cmd_delete_account.inc.php b/admin/inc/class.admin_cmd_delete_account.inc.php index 4bf1f7815e..a6f8b4f1c7 100644 --- a/admin/inc/class.admin_cmd_delete_account.inc.php +++ b/admin/inc/class.admin_cmd_delete_account.inc.php @@ -72,7 +72,7 @@ class admin_cmd_delete_account extends admin_cmd { $GLOBALS['egw']->hooks->single($GLOBALS['hook_values'],$app); } - if (!$this->is_user) $GLOBALS['egw']->accounts->delete($account_id); // groups get not deleted via the admin hook, as users + $GLOBALS['egw']->accounts->delete($account_id); if ($account_id < 0) {