diff --git a/upgrade.php b/upgrade.php index 754668f..de36e6c 100644 --- a/upgrade.php +++ b/upgrade.php @@ -4,6 +4,8 @@ namespace Garradin; use Garradin\Entities\Files\File; +$old_version = $plugin->getInfos('version'); + if (version_compare($old_version, '0.9', '<')) { $configNum = new \stdClass();