Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Prepare version 0.90+1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
David Durieux committed Nov 20, 2016
1 parent 338860e commit 182687a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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");
Expand Down Expand Up @@ -478,7 +478,7 @@ function plugin_version_fusioninventory() {
'version' => PLUGIN_FUSIONINVENTORY_VERSION,
'license' => 'AGPLv3+',
'oldname' => 'tracker',
'author' =>'<a href="mailto:[email protected]">David DURIEUX</a>
'author' =>'<a href="mailto:[email protected]">David DURIEUX</a>
& FusionInventory team',
'homepage' =>'http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/',
'minGlpiVersion' => '0.85'
Expand All @@ -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;
}

Expand Down

0 comments on commit 182687a

Please sign in to comment.