function postContent() { $this->createGatekeeper(); $new = false; if (!empty($this->arguments)) { $object = \IdnoPlugins\Media\Media::getByID($this->arguments[0]); } if (empty($object)) { $object = new \IdnoPlugins\Media\Media(); } if ($object->saveDataFromInput()) { $forward = $this->getInput('forward-to', $object->getDisplayURL()); $this->forward($forward); } }