/** * action addInternalNote * * @return void */ public function addInternalNoteAction(Model\Project $project) { if ($project->_isDirty()) { $this->updateRecord($project, "Project with #{$project->getUid()} was updated!", \TYPO3\CMS\Core\Messaging\AbstractMessage::INFO, self::NEUTER_ARTICLE, true); $this->internalRedirect('list'); } $this->view->assign('project', $project); }