Ejemplo n.º 1
0
 /**
  * delete topic and replies
  *
  * @return int|void
  */
 public function destroy()
 {
     $condition = array('topic_id' => $this->tid);
     Model_Reply::delete($condition);
     parent::destroy();
 }