/** * Sticks a thread. */ public function stick() { // check permission $this->board->checkModeratorPermission('canPinThread'); if ($this->thread == null) { throw new IllegalLinkException(); } $this->thread->stick(); HeaderUtil::redirect($this->url); exit; }