function com_uninstall() { $return = ''; $return = removeBots(); $return = removeModule() and $return; return $return; }
/** * @copyright Copyright (C) 2009 Joobi Limited All rights reserved. * @license This file is released under the GPL license (http://www.gnu.org/licenses ) * @link http://www.ijoobi.com */ function com_uninstall() { if (defined('JPATH_ROOT')) { // joomla 15 define('ACA_JPATH_ROOT', JPATH_ROOT); } else { define('ACA_JPATH_ROOT', $GLOBALS['mosConfig_absolute_path']); } //endif require_once ACA_JPATH_ROOT . '/components/com_acajoom/defines.php'; $return = removeBots(); $return = removeModule() and $return; return $return; }
function com_uninstall() { if (defined('JPATH_ROOT')) { define('JNEWS_JPATH_ROOT', JPATH_ROOT); } if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } require_once JNEWS_JPATH_ROOT . DS . 'components' . DS . 'com_jnews' . DS . 'defines.php'; unpublishSystemPlugin(); $return = removeBots(); $return = removeModule() and $return; return $return; }