/**
 * (Delegated) Implementation of hook_civicrm_disable
 */
function _sepa_civix_civicrm_disable()
{
    _sepa_civix_civicrm_config();
    if ($upgrader = _sepa_civix_upgrader()) {
        if (is_callable(array($upgrader, 'onDisable'))) {
            return $upgrader->onDisable();
        }
    }
}
示例#2
0
/**
 * Implementation of hook_civicrm_config
 */
function sepa_civicrm_config(&$config)
{
    /*
    when civi 4.4, not sure how to make it compatible with both
    CRM_Core_DAO_AllCoreTables::$daoToClass["SepaMandate"] = "CRM_Sepa_DAO_SEPAMandate";
    CRM_Core_DAO_AllCoreTables::$daoToClass["SepaCreditor"] = "CRM_Sepa_DAO_SEPACreditor";
    */
    _sepa_civix_civicrm_config($config);
}