/**
 * Implements hook_civicrm_config().
 *
 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_config
 */
function alvcustom_civicrm_config(&$config)
{
    _alvcustom_civix_civicrm_config($config);
    // Neither _pageRun, _postProcess nor _alterContent delivers this
    // JS to the confirm or transact pages, so _config() it is.
    CRM_Core_Resources::singleton()->addScriptFile('au.org.alv.alvcustom', 'js/alvcustom.js', TRUE);
}
/**
 * (Delegated) Implements hook_civicrm_disable().
 *
 * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
 * @return mixed
 */
function _alvcustom_civix_civicrm_disable()
{
    _alvcustom_civix_civicrm_config();
    if ($upgrader = _alvcustom_civix_upgrader()) {
        if (is_callable(array($upgrader, 'onDisable'))) {
            $upgrader->onDisable();
        }
    }
}