/**
 * (Delegated) Implements hook_civicrm_disable().
 *
 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
 * @return mixed
 */
function _sepamnesty_civix_civicrm_disable()
{
    _sepamnesty_civix_civicrm_config();
    if ($upgrader = _sepamnesty_civix_upgrader()) {
        if (is_callable(array($upgrader, 'onDisable'))) {
            $upgrader->onDisable();
        }
    }
}
Exemple #2
0
/**
 * Implementation of hook_civicrm_config
 *
 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
 */
function sepamnesty_civicrm_config(&$config)
{
    _sepamnesty_civix_civicrm_config($config);
}