/** * method to run after an install/update/uninstall method * * @return void */ function postflight($type, $parent) { // $parent is the class calling this method // $type is the type of change (install, update or discover_install) require_once JPATH_SITE . "/administrator/components/com_booklibrary/install.booklibrary.php"; global $mosConfig_absolute_path; com_install2(); // if(version_compare(JVERSION,'1.6.0','ge')) unlink($mosConfig_absolute_path.'/components/com_booklibrary/metadata.xml'); }
function com_install() { return com_install2(); }