fix for profile search

This commit is contained in:
2018-08-30 20:29:06 +01:00
parent 8abfaebb4c
commit f43482e49b
3 changed files with 21 additions and 34 deletions

View File

@ -134,17 +134,6 @@ function constituentsonly_civicrm_queryObjects(&$queryObjects, $type) {
}
}
/**
* Implements hook_civicrm_apiWrappers().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_apiWrappers
*/
function constituentsonly_civicrm_apiWrappers(&$wrappers, $apiRequest) {
if ($apiRequest['entity'] == 'Contact' && strtolower($apiRequest['action']) == 'getlist') {
$wrappers[] = new CRM_ConstituentsOnly_BAO_APIWrapper();
}
}
/**
* Implements hook_civicrm_contactListQuery().
*