Exemplo n.º 1
0
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);
}
Exemplo n.º 2
0
function com_uninstall() {
	$jversion = new JVersion ();
	if ($jversion->RELEASE != '1.5') return;
	include_once(dirname(__FILE__).'/install.script.php');
	Com_KunenaInstallerScript::uninstall ( null );
}
Exemplo n.º 3
0
function com_uninstall() {
	if (version_compare(JVERSION, '1.6','>')) return;
	include_once(dirname(__FILE__).'/install.script.php');
	Com_KunenaInstallerScript::uninstall ( null );
}