/** * @see Action::execute() */ public function execute() { parent::execute(); $this->thread->subscribe(); $this->thread->updateSubscription(); if ($this->thread->subscribed) { WCF::getSession()->unregister('lastSubscriptionsStatusUpdateTime'); } $this->executed(); }
/** * @see Action::execute() */ public function execute() { parent::execute(); if ($this->thread->isNew()) { WCF::getUser()->setThreadVisitTime($this->threadID, TIME_NOW); if ($this->thread->subscribed) { WCF::getSession()->unregister('lastSubscriptionsStatusUpdateTime'); } } $this->executed(); }
/** * @see Action::execute() */ public function execute() { parent::execute(); $this->thread->markAsDone(); $this->executed(); }