Fix ACL does not get removed when a group is deleted

This commit is contained in:
Nathan Gray 2015-12-02 22:17:01 +00:00
parent edffbeea99
commit 91f9bb831b

View File

@ -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)
{