Cleans up AbstractDatabaseObjectAction
authorMatthias Schmidt <gravatronics@live.com>
Sun, 3 Mar 2013 14:35:03 +0000 (15:35 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 3 Mar 2013 14:35:03 +0000 (15:35 +0100)
wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php

index c89d4ba1928ee1bfd1966d592a0fb18ddc5b741b..2a10f27f364c724693bed59669b5e51e0d0ea780 100644 (file)
@@ -166,8 +166,8 @@ abstract class AbstractDatabaseObjectAction implements IDatabaseObjectAction, ID
                // execute action
                if (!method_exists($this, $this->getActionName())) {
                        throw new SystemException("call to undefined function '".$this->getActionName()."'");
-               }       
-                       
+               }
+               
                $this->returnValues = call_user_func(array($this, $this->getActionName()));
                
                // reset cache
@@ -281,7 +281,7 @@ abstract class AbstractDatabaseObjectAction implements IDatabaseObjectAction, ID
                // read objects
                if (empty($this->objects)) {
                        $this->readObjects();
-
+                       
                        if (empty($this->objects)) {
                                throw new UserInputException('objectIDs');
                        }
@@ -290,7 +290,7 @@ abstract class AbstractDatabaseObjectAction implements IDatabaseObjectAction, ID
        
        /**
         * Creates new database object.
-        *
+        * 
         * @return      wcf\data\DatabaseObject
         */
        public function create() {