Code Duplication    Length = 7-7 lines in 3 locations

web_interface/astpp/application/modules/accounts/controllers/accounts.php 1 location

@@ 578-584 (lines=7) @@
575
			$this->opensips->customer_opensips_json($accountid,$entity_type);
576
		}
577
	}
578
	function customer_details_search($module_name){
579
		$action = $this->input->post();
580
		$this->session->set_userdata('left_panel_search_'.$module_name,"");
581
		if(!empty($action['left_panel_search'])){
582
			$this->session->set_userdata('left_panel_search_'.$module_name, $action['left_panel_search']);
583
		}
584
	}
585
	function provider_sipdevices($edit_id) {
586
		$this->customer_sipdevices($edit_id);
587
	}

web_interface/astpp/application/modules/package/controllers/package.php 1 location

@@ 313-319 (lines=7) @@
310
		echo $this->db->delete("package_patterns",$where);
311
	}
312
    
313
	function package_quick_search($module_name){
314
		$action = $this->input->post();
315
		$this->session->set_userdata('left_panel_search_package_pattern',"");
316
		if(!empty($action['left_panel_search'])){
317
			$this->session->set_userdata('left_panel_search_package_pattern', $action['left_panel_search']);
318
		}
319
	}
320
321
322
	function package_patterns_import($edit_id) {

web_interface/astpp/application/modules/user/controllers/user.php 1 location

@@ 1808-1814 (lines=7) @@
1805
	  $this->load->module('reports/reports');
1806
	  $this->reports->customer_cdrreport($accountinfo['id'], $accounttype);     
1807
	}
1808
	function user_details_search($module_name){
1809
		$action = $this->input->post();
1810
		$this->session->set_userdata('left_panel_search_'.$module_name,"");
1811
		if(!empty($action['left_panel_search'])){
1812
			$this->session->set_userdata('left_panel_search_'.$module_name, $action['left_panel_search']);
1813
	}
1814
	}
1815
1816
	function user_provider_report_export() {
1817
		$this->load->module('reports/reports');