diff --git a/phpgwapi/inc/class.accounts.inc.php b/phpgwapi/inc/class.accounts.inc.php index 0b62a8dedf..17d48fd0ef 100644 --- a/phpgwapi/inc/class.accounts.inc.php +++ b/phpgwapi/inc/class.accounts.inc.php @@ -370,7 +370,7 @@ accounts_::delete($accountid); // delete all acl_entries belonging to that user or group - $GLOBALS['phpgw']->acl->delete($accountid); + $GLOBALS['phpgw']->acl->delete_account($accountid); } function create($account_info,$default_prefs=True)