* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) */ if (!defined('_PS_VERSION_')) { exit; } function upgrade_module_3_3_0(Ps_Facetedsearch $module) { // These methods have no return value // If something failed an exception will be raised and // the upgrade will stop $module->rebuildPriceIndexTable(); $module->invalidateLayeredFilterBlockCache(); return $module->registerHook($module->getHookDispatcher()->getAvailableHooks()); }