remove unused var
authorEileen McNaughton <eileen@fuzion.co.nz>
Tue, 13 Jan 2015 00:28:23 +0000 (13:28 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Tue, 13 Jan 2015 00:28:23 +0000 (13:28 +1300)
api/v3/RelationshipType.php

index 8697603b7cf9c31bdeed23de1a0c7d48437031aa..a91d302eceba81f1cd72e6f357fdb928aaa71c05 100644 (file)
@@ -64,7 +64,6 @@ function civicrm_api3_relationship_type_create($params) {
     $ids['relationshipType'] = CRM_Utils_Array::value('id', $params);
   }
 
-  $relationType = new CRM_Contact_BAO_RelationshipType();
   $relationType = CRM_Contact_BAO_RelationshipType::add($params, $ids);
 
   $relType = array();