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