Skip to content

Commit 25eb1ea

Browse files
committed
2.0.4
1 parent a6031c9 commit 25eb1ea

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

code/Module.class.php

+8-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Module extends FormToolsModule
1414
protected $author = "Ben Keen";
1515
protected $authorEmail = "[email protected]";
1616
protected $authorLink = "https://formtools.org";
17-
protected $version = "2.0.3";
18-
protected $date = "2019-01-28";
17+
protected $version = "2.0.4";
18+
protected $date = "2019-01-30";
1919
protected $originLanguage = "en_us";
2020
protected $jsFiles = array(
2121
"scripts/security_check.js",
@@ -57,6 +57,12 @@ public function install($module_id)
5757

5858

5959
public function upgrade($module_id, $old_module_version)
60+
{
61+
$this->resetHooks();
62+
}
63+
64+
65+
public function resetHooks()
6066
{
6167
$this->clearHooks();
6268
Hooks::registerHook("code", "ip_security_check", "main", "FormTools\\User->login", "checkUser", 50, true);

0 commit comments

Comments
 (0)