From 80c11349f1e0b002b8354746a4ce93a14644bbde Mon Sep 17 00:00:00 2001 From: Mikron Date: Tue, 25 Apr 2017 16:13:33 +0200 Subject: [PATCH] Plugin is now compatible with GLPI up to 9.1.2 --- README.md | 8 ++++---- fpconsumables.xml | 24 +++++++++++++++--------- setup.php | 4 ++-- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index bee2c1e..d551587 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # glpi-fpconsumables GLPI plugin that allows you to preview consumables at user profile page. -##General Information -Current solution for Consumables doesn’t allow to verify which consumables were given to a user. FP Consumables solved that problem and introduces new tab that lists all consumables that were given to a user. +##General Information +Current solution for Consumables does not allow to verify which consumables were given to a user. FP Consumables solved that problem and introduces new tab that lists all consumables that were given to a user. ![User view – new “Consumables” tab](https://cloud.githubusercontent.com/assets/3634020/8589126/f02a85a4-2612-11e5-8b1e-b143f8313426.png) **(User view – new “Consumables” tab)** ###Requirements -GLPI 0.85.x, 0.90.x +GLPI 0.85.x, 0.90.x, 9.1.x ###Install instruction -Just like all other plugins, just copy to plugins and install/enable from Administration/Plugins section. +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 c0643d4..47e8726 100644 --- a/fpconsumables.xml +++ b/fpconsumables.xml @@ -8,19 +8,25 @@ - FP Consumables solved that problem and introduces new tab that lists all consumables that were given to a user.
This makes GLPI more "user-centric".

Changelog:
2015.12
- plugin is now compatibile with GLPI 0.90

Company website]]>
+ FP Consumables solves that problem and introduces new tab that lists all consumables that were given to a user.
This makes GLPI more "user-centric".

Changelog:
2015.12
- plugin is now compatibile with GLPI 0.90


2017.04
- plugin is now compatibile with GLPI 9.1.2
- fixed a bug with consumable returned to storage still being visible

Company website]]>
https://github.com/FutureProcessing/glpi-fpconsumables - https://github.com/FutureProcessing/glpi-fpconsumables/archive/v.1.0.tar.gz + https://github.com/FutureProcessing/glpi-fpconsumables/archive/v.1.1.tar.gz Future Processing - 1.0 - 0.90 - 0.85 + 1.0 + 9.1.2 + 9.1.1 + 9.1 + + + 1.0 + 0.90 + 0.85 @@ -28,10 +34,10 @@ - - Consumable - Inventory - + + Consumable + Inventory + https://cloud.githubusercontent.com/assets/3634020/8589126/f02a85a4-2612-11e5-8b1e-b143f8313426.png diff --git a/setup.php b/setup.php index 327a62a..e8f20b1 100644 --- a/setup.php +++ b/setup.php @@ -60,8 +60,8 @@ function plugin_version_fpconsumables() { * @return boolean */ function plugin_fpconsumables_check_prerequisites() { - if (version_compare(GLPI_VERSION, '0.84', 'lt') || version_compare(GLPI_VERSION, '0.91', 'gt')) { - echo "This plugin requires GLPI >= 0.84 and GLPI <= 0.91"; + if (version_compare(GLPI_VERSION, '0.84', 'lt') || version_compare(GLPI_VERSION, '9.1.2', 'gt')) { + echo "This plugin requires GLPI >= 0.84 and GLPI <= 9.1.2"; return false; }