Skip to content

Commit

Permalink
Plugin is now compatible with GLPI 0.90
Browse files Browse the repository at this point in the history
Setup file and readme has been updated.
  • Loading branch information
prybak committed Dec 24, 2015
1 parent 16bb419 commit bd6e727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Current solution for Consumables doesn’t allow to verify which consumables wer
**(User view – new “Consumables” tab)**

###Requirements
GLPI 0.85.x
GLPI 0.85.x, 0.90.x

###Install instruction
Just like all other plugins, just copy to plugins and install/enable from Administration/Plugins section.
4 changes: 2 additions & 2 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.86', 'gt')) {
echo "This plugin requires GLPI >= 0.84 and GLPI <= 0.86";
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";
return false;
}

Expand Down

0 comments on commit bd6e727

Please sign in to comment.