/** * Implementation of hook_civicrm_config */ function olarkchat_civicrm_config(&$config) { _olarkchat_civix_civicrm_config($config); if ($config->userFramework == 'Joomla' && 'civicrm/olarkchat' == JFactory::getApplication()->input->get('task')) { $_SESSION['olark_temp'] = 1; } }
/** * (Delegated) Implementation of hook_civicrm_disable */ function _olarkchat_civix_civicrm_disable() { _olarkchat_civix_civicrm_config(); if ($upgrader = _olarkchat_civix_upgrader()) { if (is_callable(array($upgrader, 'onDisable'))) { return $upgrader->onDisable(); } } }