Fixes return value of UserEditor::deleteAll()
authorMatthias Schmidt <gravatronics@live.com>
Wed, 21 Mar 2012 12:33:59 +0000 (13:33 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 21 Mar 2012 12:33:59 +0000 (13:33 +0100)
wcfsetup/install/files/lib/data/user/UserEditor.class.php

index b258a97cb97a46f7c84d548f25c3453ef1a7adee..36ceb11b26721ad6d53cd0152ecbe8fa124ba8c2 100644 (file)
@@ -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);
        }
        
        /**