From 182687acac3bdb7169e9bce1f23e9169acdddbf8 Mon Sep 17 00:00:00 2001 From: David Durieux Date: Sun, 20 Nov 2016 11:52:51 +0100 Subject: [PATCH] Prepare version 0.90+1.5 --- setup.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.php b/setup.php index 9d077ddb77..8f0dbcbae0 100644 --- a/setup.php +++ b/setup.php @@ -40,7 +40,7 @@ ------------------------------------------------------------------------ */ -define ("PLUGIN_FUSIONINVENTORY_VERSION", "0.90+1.4"); +define ("PLUGIN_FUSIONINVENTORY_VERSION", "0.90+1.5"); // Used for use config values in 'cache' $PF_CONFIG = array(); @@ -50,7 +50,7 @@ define ("PLUGIN_FUSIONINVENTORY_XML", ''); define ("PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE", "0"); -define ("PLUGIN_FUSIONINVENTORY_REALVERSION", "0.90+1.4 SNAPSHOT"); +define ("PLUGIN_FUSIONINVENTORY_REALVERSION", "0.90+1.5 SNAPSHOT"); include_once(GLPI_ROOT."/inc/includes.php"); include_once( GLPI_ROOT . "/plugins/fusioninventory/lib/autoload.php"); @@ -478,7 +478,7 @@ function plugin_version_fusioninventory() { 'version' => PLUGIN_FUSIONINVENTORY_VERSION, 'license' => 'AGPLv3+', 'oldname' => 'tracker', - 'author' =>'David DURIEUX + 'author' =>'David DURIEUX & FusionInventory team', 'homepage' =>'http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/', 'minGlpiVersion' => '0.85' @@ -495,8 +495,8 @@ function plugin_fusioninventory_check_prerequisites() { $_SESSION['glpi_plugins'] = array(); } - if (version_compare(GLPI_VERSION, '0.85', 'lt') || version_compare(GLPI_VERSION, '0.92', 'ge')) { - echo __('Your GLPI version not compatible, require >= 0.85', 'fusioninventory'); + if (version_compare(GLPI_VERSION, '0.85', 'lt') || version_compare(GLPI_VERSION, '9.1', 'ge')) { + echo __('Your GLPI version not compatible, require >= 0.85 and < 9.1', 'fusioninventory'); return FALSE; }