/** * Update the module informations in the DB * * @param string Name of the modul-directory * @param bool Optional boolean to run the upgrade-script of the module. * * THIS METHOD WAS MOVED TO CAT_Helper_Addons! * */ function upgrade_module($directory, $upgrade = false) { if (!class_exists('CAT_Helper_Addons')) { @(require_once dirname(__FILE__) . '/CAT/Helper/Addons.php'); } $addons_helper = new CAT_Helper_Addons(); return $addons_helper->upgradeModule($directory, $upgrade); }