Ejemplo n.º 1
0
 public function run()
 {
     $dm = new PwTopicDm(true);
     $dm->addLastposttime(-$this->downtime)->setDowned($this->downed);
     Wekit::load('forum.PwThread')->batchUpdateThread($this->tids, $dm, PwThread::FETCH_MAIN);
     Wekit::load('log.srv.PwLogService')->addThreadManageLog($this->srv->user, 'down', $this->srv->getData(), $this->_reason, $this->downtime);
 }