function install() { if (!ConfigOptions::exists('frosso_auth_my_pub_key')) { ConfigOptions::addOption('frosso_auth_my_pub_key', FROSSO_AUTH_MODULE, ''); } if (!ConfigOptions::exists('frosso_auth_my_pri_key')) { ConfigOptions::addOption('frosso_auth_my_pri_key', FROSSO_AUTH_MODULE, ''); } if (!ConfigOptions::exists('frosso_auth_my_pri_token')) { ConfigOptions::addOption('frosso_auth_my_pri_token', FROSSO_AUTH_MODULE, 'token'); } parent::install(); }
/** * uninstall * Uninstall module */ function uninstall() { parent::uninstall(); Router::cleanUpCache(true); if (function_exists("cache_clear")) { cache_clear(); } }
function uninstall() { parent::uninstall(); DB::execute('UPDATE ' . TABLE_PREFIX . 'subscriptions SET parent_type = ? WHERE parent_type = ?', 'Milestone', 'RemediaMilestone'); }
function install() { return parent::install(); }