public function markPostReadObject() { /** * @var $ilUser ilObjUser */ global $ilUser; $this->object->markPostRead($ilUser->getId(), (int) $this->objCurrentTopic->getId(), (int) $this->objCurrentPost->getId()); $this->viewThreadObject(); }