Example #1
0
 function product_remove()
 {
     $this->check_login();
     $id = $this->uri->segment(3);
     Product::set_active($id, '0');
     redirect(base_url() . 'admin/products');
 }