Skip to content

Commit

Permalink
2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
benkeen committed Feb 2, 2018
1 parent c09a56c commit dfd72be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/Module.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

use FormTools\Core;
use FormTools\FieldTypes;
use FormTools\General;
use FormTools\Hooks;
use FormTools\Module as FormToolsModule;
use PDO, Exception;
Expand All @@ -17,8 +18,8 @@ class Module extends FormToolsModule
protected $author = "Ben Keen";
protected $authorEmail = "[email protected]";
protected $authorLink = "https://formtools.org";
protected $version = "2.0.4";
protected $date = "2018-01-30";
protected $version = "2.0.5";
protected $date = "2018-02-01";
protected $originLanguage = "en_us";

protected $jsFiles = array(
Expand Down Expand Up @@ -285,7 +286,7 @@ public function upgrade($module_id, $old_module_version)
{
$this->resetHooks();

if ($this->getVersion() == "2.0.4") {
if (General::isVersionEarlierThan($this->getVersion(), "2.0.5")) {
$this->resetFieldType($module_id);
}
}
Expand Down

0 comments on commit dfd72be

Please sign in to comment.