This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test tu use glpi 9.1.1 database.
Enhance error text when not have compatible GLPI version. Add error to deny install witj cli_install script if GLPI version not compatible.
- Loading branch information
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -491,10 +491,10 @@ 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' => '9.1' | ||
'minGlpiVersion' => '9.1.1' | ||
); | ||
} | ||
|
||
|
@@ -513,8 +513,8 @@ function plugin_fusioninventory_check_prerequisites() { | |
$_SESSION['glpi_plugins'] = array(); | ||
} | ||
|
||
if (version_compare(GLPI_VERSION, '9.1', 'lt') || version_compare(GLPI_VERSION, '9.2', 'ge')) { | ||
echo __('Your GLPI version not compatible, require >= 9.1', 'fusioninventory'); | ||
if (version_compare(GLPI_VERSION, '9.1.1', 'lt') || version_compare(GLPI_VERSION, '9.2', 'ge')) { | ||
echo __('Your GLPI version not compatible, require >= 9.1.1 and < 9.2', 'fusioninventory'); | ||
return FALSE; | ||
} | ||
|
||
|