From 298135dabca5ba9b9da134c8ccd8b0efef96b569 Mon Sep 17 00:00:00 2001 From: jekkos-t520 Date: Fri, 3 Oct 2014 08:03:37 +0200 Subject: [PATCH] Remove obsolete item_unit method --- application/controllers/receivings.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/application/controllers/receivings.php b/application/controllers/receivings.php index 1dff8ad55..c620210d7 100644 --- a/application/controllers/receivings.php +++ b/application/controllers/receivings.php @@ -102,26 +102,6 @@ class Receivings extends Secure_area $this->_reload($data); } - function edit_item_unit($item_id) - { - $data= array(); - - $this->form_validation->set_rules('quantity', 'lang:items_quantity', 'required|integer'); - $quantity = $this->input->post("quantity"); - - - if ($this->form_validation->run() != FALSE) - { - $this->receiving_lib->edit_item_unit($item_id,$description,$quantity,0,0); - } - else - { - $data['error']=$this->lang->line('recvs_error_editing_item'); - } - - $this->_reload($data); - } - function delete_item($item_number) { $this->receiving_lib->delete_item($item_number);