From 64393e5faa80a4bf332c4e3895dfcb966a2503e3 Mon Sep 17 00:00:00 2001 From: prybak Date: Mon, 6 May 2019 10:07:48 +0200 Subject: [PATCH] Update to 9.4.x Updated setup files to support GLPI version < 9.5. --- README.md | 2 +- fpconsumables.xml | 8 +++++++- setup.php | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e6955ba..b253ccb 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Current solution for Consumables does not allow to verify which consumables were **(User view – new “Consumables” tab)** ### Requirements -GLPI 0.85.x, 0.90.x, 9.1, 9.1.1, 9.1.2 +GLPI 0.85.x, 0.90.x, 9.1.x, 9.2.x, 9.3.x, 9.4.x ### Install instruction Just like all other plugins, just copy to `plugins` directory and install / enable from Administration / Plugins section. diff --git a/fpconsumables.xml b/fpconsumables.xml index a31687a..6e66f68 100644 --- a/fpconsumables.xml +++ b/fpconsumables.xml @@ -12,11 +12,17 @@ https://github.com/FutureProcessing/glpi-fpconsumables - https://github.com/FutureProcessing/glpi-fpconsumables/archive/v.1.2.tar.gz + https://github.com/FutureProcessing/glpi-fpconsumables/archive/v.1.3.tar.gz Future Processing + + 1.3 + 9.4.x + 9.3.x + 9.2.x + 1.2 9.1.3 diff --git a/setup.php b/setup.php index 4e5b5d4..46b603e 100644 --- a/setup.php +++ b/setup.php @@ -44,7 +44,7 @@ function plugin_version_fpconsumables() { return array('name' => "FP Consumables", - 'version' => '1.2.0', + 'version' => '1.3.0', 'author' => 'Future Processing', 'license' => 'GPLv2+', 'homepage' => 'http://www.future-processing.com', @@ -62,8 +62,8 @@ function plugin_version_fpconsumables() */ function plugin_fpconsumables_check_prerequisites() { - if (version_compare(GLPI_VERSION, '0.84', 'lt') || version_compare(GLPI_VERSION, '9.1.3', 'gt')) { - echo "This plugin requires GLPI >= 0.84 and GLPI <= 9.1.3"; + if (version_compare(GLPI_VERSION, '0.84', 'lt') || version_compare(GLPI_VERSION, '9.5', 'gt')) { + echo "This plugin requires GLPI >= 0.84 and GLPI <= 9.5"; return false; }