Exemple #1
0
 /**
  * Remove deleted page records and relations to it from DB.
  *
  * @return	int		Amount of deleted pages that have been removed
  */
 public function remove_deleted_pages()
 {
     return $this->page_model->remove_deleted_pages();
 }
Exemple #2
0
 /**
  * Remove deleted page records and relations to it from DB.
  *
  * @return	int		Amount of deleted pages that have been removed
  */
 public function remove_deleted_pages()
 {
     $this->page_model->remove_deleted_pages();
     $result = array('status' => 'success', 'message' => lang('ionize_message_check_ok'));
     $this->xhr_output($result);
 }