From 6ba58c621cc2cd31baafdce4ddf59e882e1deae7 Mon Sep 17 00:00:00 2001 From: engel <> Date: Mon, 6 Feb 2023 17:37:12 +0000 Subject: [PATCH] correction petit oubli upgrade.php FossilOrigin-Name: efb9c630582804a571607b2a441206c4551aae6a4f4d80fb65ac2a88a739aa9d --- upgrade.php | 2 ++ 1 file changed, 2 insertions(+) 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();