From 4de4e3c34bfdb172ff8e867ce3c1bec2ab6a638b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 13 Jul 2013 01:26:03 +0200 Subject: [PATCH] Using UserAction::delete() instead --- .../files/lib/acp/form/UserBulkProcessingForm.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/UserBulkProcessingForm.class.php b/wcfsetup/install/files/lib/acp/form/UserBulkProcessingForm.class.php index b9091ff93e..e35055fa04 100644 --- a/wcfsetup/install/files/lib/acp/form/UserBulkProcessingForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/UserBulkProcessingForm.class.php @@ -2,6 +2,7 @@ namespace wcf\acp\form; use wcf\data\user\group\UserGroup; use wcf\data\user\User; +use wcf\data\user\UserAction; use wcf\data\user\UserEditor; use wcf\form\AbstractForm; use wcf\system\database\util\PreparedStatementConditionBuilder; @@ -373,7 +374,8 @@ class UserBulkProcessingForm extends UserOptionListForm { $userIDs = $this->fetchUsers(); - UserEditor::deleteAll($userIDs); + $userAction = new UserAction($userIDs, 'delete'); + $userAction->executeAction(); break; } $this->saved(); -- 2.20.1