Example #1
0
 /**
  * Remove keyword group
  * @return json
  * @author Ruslan Ushakov
  */
 function removeKeywordGroup()
 {
     $group = $this->input->post('group');
     $res = false;
     if (!empty($group)) {
         $res = true;
         $this->load->model('ranking_model');
         $this->ranking_model->removeKeywordGroup($group);
     }
     $this->output->set_content_type('application/json')->set_output($res);
 }