/** * Implementation of hook_civicrm_enable */ function petitionemail_civicrm_enable() { // Ensure the profile id is created. petitionemail_create_custom_fields(); petitionemail_get_profile_id('petitionemail_profile_matching_fields'); petitionemail_get_profile_id('petitionemail_profile_default_contact'); petitionemail_get_profile_id('petitionemail_profile_default_activity'); return _petitionemail_civix_civicrm_enable(); }
/** * Implements hook_civicrm_enable(). * * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable */ function petitionemail_civicrm_enable() { _petitionemail_civix_civicrm_enable(); }