예제 #1
0
 function RemoveContact($contact_id)
 {
     /*		$sql="delete from ".EM_CONTACT_STATUS." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     		
     		$sql="delete from ".EM_WEB_APP_INFO." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     	
     		$sql="delete from ".EM_CERTIFICATION." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     		
     		$sql="delete from ".EM_CONTACT_LOCATION." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     
     		$sql="delete from ".EM_APPLICATION_GENERAL." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     		
     		$sql="delete from ".EM_APPLICATION_EDUCATION." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     
     		$sql="delete from ".EM_APPLICATION_REFERENCES." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     
     		$sql="delete from ".EM_APPLICATION_PREVIOUS_EMPLOYMENT." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     
     		$sql="delete from ".EM_APPLICATION_MILITARY_SERVICE." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     
     		$sql="delete from ".EM_CONTACT_DOCUMENTS." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     
     		$sql="delete from ".EM_CONTACT_UNAVAILABILITY." where contact_id=$contact_id ";
     		$this->db->query($sql,__FILE__,__LINE__);
     		*/
     parent::RemoveContact($contact_id);
 }