Remove duplicated cookie cleanup hack (CI 2.x issue)

This commit is contained in:
jekkos
2016-02-25 23:28:19 +01:00
parent 831dc7a0b8
commit 3cb9aaa055
6 changed files with 3 additions and 76 deletions

View File

@@ -39,7 +39,6 @@ class Items extends Secure_area implements iData_controller
$this->load->view('items/manage', $data);
$this->_remove_duplicate_cookies();
}
function find_item_info()
@@ -84,8 +83,7 @@ class Items extends Secure_area implements iData_controller
$data_rows = get_items_manage_table_data_rows($items, $this);
// do not move this line to be after the json_encode otherwise the searhc function won't work!!
$this->_remove_duplicate_cookies();
echo json_encode(array('total_rows' => $total_rows, 'rows' => $data_rows, 'pagination' => $links));
}
@@ -266,7 +264,6 @@ class Items extends Secure_area implements iData_controller
echo $data_row;
$this->_remove_duplicate_cookies();
}
function view($item_id=-1)