From 0378d4cc905574fc0055e5e645d5408e110f7449 Mon Sep 17 00:00:00 2001 From: "J.F. Viguier" Date: Fri, 4 Jun 2021 15:46:59 +0200 Subject: [PATCH] remove useless upgrade file --- upgrade/install-5.0.0.php | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 upgrade/install-5.0.0.php diff --git a/upgrade/install-5.0.0.php b/upgrade/install-5.0.0.php deleted file mode 100644 index dea7c5ee..00000000 --- a/upgrade/install-5.0.0.php +++ /dev/null @@ -1,38 +0,0 @@ - - * @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_5_0_0($object) -{ - if (!Configuration::hasKey('PRODUCT_COMMENTS_PAGE_COMMENTS_NB')) { - Configuration::set('PRODUCT_COMMENTS_PAGE_COMMENTS_NB', 8); - } - if (!Configuration::hasKey('PRODUCT_COMMENTS_USEFULNESS')) { - Configuration::set('PRODUCT_COMMENTS_USEFULNESS', 1); - } -}