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