From 91e0c9599ed8d0bcc6205470e7ae3b68f1a2a467 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 17 Mar 2015 08:42:12 +1300 Subject: [PATCH] whitespace fixes --- CRM/Contact/Form/Task/AddToParentClass.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Contact/Form/Task/AddToParentClass.php b/CRM/Contact/Form/Task/AddToParentClass.php index f2c1e6db06..7eb7c5566f 100644 --- a/CRM/Contact/Form/Task/AddToParentClass.php +++ b/CRM/Contact/Form/Task/AddToParentClass.php @@ -63,11 +63,9 @@ class CRM_Contact_Form_Task_AddToParentClass extends CRM_Contact_Form_Task { $primaryFieldName = 'contact_id_' . $primaryRelationshipSide; $secondaryFieldName = 'contact_id_' . $secondaryRelationshipSide; - $relationshipLabel = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_RelationshipType', $params['relationship_type_id'], "label_{$secondaryRelationshipSide}_{$primaryRelationshipSide}"); - $params[$secondaryFieldName] = $this->_contactIds; $params[$primaryFieldName] = $this->params['contact_check']; $outcome = CRM_Contact_BAO_Relationship::createMultiple($params, $primaryRelationshipSide); @@ -103,7 +101,6 @@ class CRM_Contact_Form_Task_AddToParentClass extends CRM_Contact_Form_Task { 'plural' => 'Relationships created.', )), 'success', array('expires' => 0)); - } /** -- 2.25.1