Skip to content

Commit

Permalink
chore: change version to 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samberrry committed Sep 5, 2022
1 parent 3160ebd commit 4f79cb8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ps_facetedsearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function __construct()
{
$this->name = 'ps_facetedsearch';
$this->tab = 'front_office_features';
$this->version = '3.8.0';
$this->version = '3.9.0';
$this->author = 'PrestaShop';
$this->need_instance = 0;
$this->bootstrap = true;
Expand Down
32 changes: 32 additions & 0 deletions upgrade/upgrade-3.9.0.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @author PrestaShop SA <[email protected]>
* @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_9_0(Ps_Facetedsearch $module)
{
$module->rebuildCommentIndexTable();
$module->indexReviews(true);
$module->rebuildLayeredStructure();
$module->invalidateLayeredFilterBlockCache();

return $module->registerHook($module->getHookDispatcher()->getAvailableHooks());
}

0 comments on commit 4f79cb8

Please sign in to comment.