From: Matthias Schmidt Date: Wed, 21 Mar 2012 12:33:59 +0000 (+0100) Subject: Fixes return value of UserEditor::deleteAll() X-Git-Tag: 2.0.0_Beta_1~1198^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=51c19c2a398dc331e27a9673738be518d00f96af;p=GitHub%2FWoltLab%2FWCF.git Fixes return value of UserEditor::deleteAll() --- diff --git a/wcfsetup/install/files/lib/data/user/UserEditor.class.php b/wcfsetup/install/files/lib/data/user/UserEditor.class.php index b258a97cb9..36ceb11b26 100644 --- a/wcfsetup/install/files/lib/data/user/UserEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/UserEditor.class.php @@ -45,10 +45,10 @@ class UserEditor extends DatabaseObjectEditor { * @see wcf\data\IEditableObject::deleteAll() */ public static function deleteAll(array $objectIDs = array()) { - parent::deleteAll($objectIDs); - // unmark users ClipboardHandler::getInstance()->unmark($objectIDs, ClipboardHandler::getInstance()->getObjectTypeID('com.woltlab.wcf.user')); + + return parent::deleteAll($objectIDs); } /**