From b6d20ac485636c3b2916e223bc87be4a06739e2e Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 28 Feb 2014 22:03:38 -0500 Subject: [PATCH] CRM-14288 - Remove unnecessary relationship ajax callback --- CRM/Contact/Page/AJAX.php | 17 ----------------- CRM/Core/xml/Menu/Contact.xml | 5 ----- 2 files changed, 22 deletions(-) diff --git a/CRM/Contact/Page/AJAX.php b/CRM/Contact/Page/AJAX.php index 9795ea531b..e4995f7163 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -1123,23 +1123,6 @@ LIMIT {$offset}, {$rowCount} CRM_Utils_System::civiExit(); } - static function relationshipContactTypeList() { - $relType = CRM_Utils_Array::value('relType', $_REQUEST); - - $types = CRM_Contact_BAO_Relationship::getValidContactTypeList($relType); - - $elements = array(); - foreach ($types as $key => $label) { - $elements[] = array( - 'name' => $label, - 'value' => $key, - ); - } - - echo json_encode($elements); - CRM_Utils_System::civiExit(); - } - static function selectUnselectContacts() { $name = CRM_Utils_Array::value('name', $_REQUEST); $cacheKey = CRM_Utils_Array::value('qfKey', $_REQUEST); diff --git a/CRM/Core/xml/Menu/Contact.xml b/CRM/Core/xml/Menu/Contact.xml index b1eeafd832..a79deb2344 100644 --- a/CRM/Core/xml/Menu/Contact.xml +++ b/CRM/Core/xml/Menu/Contact.xml @@ -392,11 +392,6 @@ CRM_Contact_Page_AJAX::buildDedupeRules access CiviCRM - - civicrm/ajax/relationshipContactTypeList - CRM_Contact_Page_AJAX::relationshipContactTypeList - access CiviCRM - civicrm/contact/view/useradd cid=%%cid%% -- 2.25.1