/** * Enables the selected post. */ public function enable() { if (!$this->board->getModeratorPermission('canEnablePost')) { return; } if ($this->post != null && $this->post->isDisabled) { $this->post->enable(); $this->thread->checkVisibility(); $this->addPost(); } }