コード例 #1
0
ファイル: bootstrap.civix.php プロジェクト: JoeMurray/civihr
/**
 * (Delegated) Implements hook_civicrm_disable().
 *
 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
 * @return mixed
 */
function _bootstrap_civix_civicrm_disable()
{
    _bootstrap_civix_civicrm_config();
    if ($upgrader = _bootstrap_civix_upgrader()) {
        if (is_callable(array($upgrader, 'onDisable'))) {
            $upgrader->onDisable();
        }
    }
}
コード例 #2
0
ファイル: bootstrap.php プロジェクト: JoeMurray/civihr
/**
 * Implements hook_civicrm_config().
 *
 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
 */
function bootstrap_civicrm_config(&$config)
{
    _bootstrap_civix_civicrm_config($config);
}