/** * Installer function * @return */ function com_install() { if (!defined('JPATH_PLATFORM')) { require_once JPATH_ADMINISTRATOR . '/components/com_jce/install.php'; $installer = JInstaller::getInstance(); $requirements = com_jceInstallerScript::checkRequirements(); if ($requirements !== true) { $installer->set('message', $requirements); $installer->abort(); WFInstall::cleanupInstall(); return false; } return WFInstall::install($installer); } return true; }
/** * Uninstall function * @return */ function com_uninstall() { if (!defined('JPATH_PLATFORM')) { $script = new com_jceInstallerScript(); return $script->uninstall(); } return true; }
/** * Uninstall function * @return */ function com_uninstall() { return com_jceInstallerScript::uninstall(); }