Example #1
0
 function delete($id)
 {
     $this->filter_access('Tax_Employee', 'roled_delete', 'taxes_employees/index');
     $te = new Tax_Employee();
     $te->_delete($id);
     $this->session->set_flashdata('message', 'Taxes Employees successfully deleted!');
     redirect('taxes_employees/');
 }