/** * Legacy j1.5 function to use the 1.6 class uninstall * * @return boolean True on success * @deprecated */ function com_uninstall() { $vmInstall = new com_tsmartInstallerScript(); // $vmInstall->preflight('uninstall'); if (version_compare(JVERSION, '1.6.0', 'ge')) { // Joomla! 1.6 code here } else { $vmInstall->uninstall(); $vmInstall->postflight('uninstall'); } return true; }