示例#1
0
 /**
  * Process the form
  * @return void
  */
 public function handleActions()
 {
     if (!empty($this->scriptProperties['move-thread']) && !empty($this->scriptProperties['board'])) {
         if ($this->thread->move($this->getProperty('board'))) {
             $this->discuss->logActivity('thread_move', $this->thread->toArray());
             $url = $this->discuss->request->makeUrl('board', array('board' => $this->thread->get('board')));
             $this->modx->sendRedirect($url);
         }
     }
 }