mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Admin: Remove time limit when deleting a user
all those records could take a while and we don't want to fail
This commit is contained in:
parent
9a7a24e155
commit
665213dab8
@ -194,11 +194,13 @@ class admin_cmd_delete_account extends admin_cmd
|
||||
*/
|
||||
protected function delete_account($is_user, $account_id, $account_lid=null, $new_user=null)
|
||||
{
|
||||
set_time_limit(0);
|
||||
|
||||
// delete the account
|
||||
$GLOBALS['hook_values'] = array(
|
||||
'account_id' => $account_id,
|
||||
'account_lid' => $account_lid,
|
||||
'account_name'=> $account_lid, // depericated name for deletegroup hook
|
||||
'account_name' => $account_lid, // depericated name for deletegroup hook
|
||||
'new_owner' => (int)$new_user, // deleteaccount only
|
||||
'location' => $is_user ? 'deleteaccount' : 'deletegroup',
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user