Skip to content
Snippets Groups Projects
Commit 0adc3755 authored by colemanw's avatar colemanw
Browse files

[REF] Remove unused variables

parent c110d31e
Branches
Tags
No related merge requests found
......@@ -97,18 +97,8 @@ class CRM_Contact_Form_RelatedContact extends CRM_Core_Form {
public function buildQuickForm() {
$params = [];
$params['id'] = $params['contact_id'] = $this->_contactId;
$contact = CRM_Contact_BAO_Contact::retrieve($params, $this->_defaults);
$countryID = '';
$stateID = '';
if (!empty($this->_defaults['address'][1])) {
$countryID = CRM_Utils_Array::value('country_id',
$this->_defaults['address'][1]
);
$stateID = CRM_Utils_Array::value('state_province_id',
$this->_defaults['address'][1]
);
}
CRM_Contact_BAO_Contact::retrieve($params, $this->_defaults);
$this->buildOnBehalfForm();
$this->assign('contact_type', $this->_contactType);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment