From: Alexander Ebert Date: Fri, 12 Jul 2013 23:26:03 +0000 (+0200) Subject: Using UserAction::delete() instead X-Git-Tag: 2.0.0_Beta_5~54^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4de4e3c34bfdb172ff8e867ce3c1bec2ab6a638b;p=GitHub%2FWoltLab%2FWCF.git Using UserAction::delete() instead --- 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();