diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index 13a3cce5a5..6a9a26661e 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -504,7 +504,7 @@ class accounts $GLOBALS['egw']->acl->delete_account($id); // delete all categories belonging to that user or group - $GLOBALS['egw']->cats->delete_account($id); + categories::delete_account($id); return true; }