From 151e70ae2811e504b191dd09240b953614d7185d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Sat, 16 Nov 2024 13:33:09 +0100 Subject: [PATCH] Module upgrade, register new hook --- is_themecore.php | 3 ++- upgrade/upgrade-4-1-2.php | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 upgrade/upgrade-4-1-2.php diff --git a/is_themecore.php b/is_themecore.php index c6c7257..f2fd28c 100644 --- a/is_themecore.php +++ b/is_themecore.php @@ -47,6 +47,7 @@ class Is_themecore extends Module 'objectShopUrlAddAfter', 'objectShopUrlUpdateAfter', 'objectShopUrlDeleteAfter', + 'actionFrontControllerInitBefore', ]; /** @@ -58,7 +59,7 @@ public function __construct() { $this->name = 'is_themecore'; $this->tab = 'others'; - $this->version = '4.1.1'; + $this->version = '4.1.2'; $this->author = 'Igor Stępień'; $this->ps_versions_compliancy = ['min' => '8.0.0', 'max' => _PS_VERSION_]; diff --git a/upgrade/upgrade-4-1-2.php b/upgrade/upgrade-4-1-2.php new file mode 100644 index 0000000..561db06 --- /dev/null +++ b/upgrade/upgrade-4-1-2.php @@ -0,0 +1,14 @@ +registerHook('actionFrontControllerInitBefore'); +}