/** * Implements hook_civicrm_enable(). * * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable */ function offlinerecurringcontributions_civicrm_enable() { // looks like someone finally wrote an api .. civicrm_api('job', 'create', array('version' => 3, 'name' => ts('Process Offline Recurring Payments'), 'description' => ts('Processes any offline recurring payments that are due'), 'run_frequency' => 'Daily', 'api_entity' => 'job', 'api_action' => 'process_offline_recurring_payments', 'is_active' => 0)); _offlinerecurringcontributions_civix_civicrm_enable(); }
/** * Implements hook_civicrm_enable(). * * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable */ function offlinerecurringcontributions_civicrm_enable() { _offlinerecurringcontributions_civix_civicrm_enable(); }