// 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
// read objects
if (empty($this->objects)) {
$this->readObjects();
-
+
if (empty($this->objects)) {
throw new UserInputException('objectIDs');
}
/**
* Creates new database object.
- *
+ *
* @return wcf\data\DatabaseObject
*/
public function create() {