function com_uninstall() { // Joomla 1.7 compatibility (class already exists) if (!class_exists('JVersion')) { // Joomla 1.5 and 1.6 compatibility (jimport needed) jimport('joomla.version'); } $jversion = new JVersion(); if ($jversion->RELEASE != '1.5') { return; } include_once dirname(__FILE__) . '/install.script.php'; Com_KunenaInstallerScript::uninstall(null); }
function com_uninstall() { $jversion = new JVersion (); if ($jversion->RELEASE != '1.5') return; include_once(dirname(__FILE__).'/install.script.php'); Com_KunenaInstallerScript::uninstall ( null ); }
function com_uninstall() { if (version_compare(JVERSION, '1.6','>')) return; include_once(dirname(__FILE__).'/install.script.php'); Com_KunenaInstallerScript::uninstall ( null ); }