Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
amma35 committed May 28, 2018
1 parent 71ea92c commit 891ea2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ function plugin_version_environment() {

return [
'name' => __('Environment', 'environment'),
'version' => '2.1.0',
'version' => '2.2.0',
'license' => 'GPLv2+',
'author' => "<a href='http://infotel.com/services/expertise-technique/glpi/'>Infotel</a>",
'homepage' => 'https://github.com/InfotelGLPI/environment',
'minGlpiVersion' => '9.2',
'minGlpiVersion' => '9.3',
];

}
Expand All @@ -70,7 +70,7 @@ function plugin_version_environment() {
* @return bool
*/
function plugin_environment_check_prerequisites() {
if (version_compare(GLPI_VERSION, '9.2', 'lt') || version_compare(GLPI_VERSION, '9.4', 'ge')) {
if (version_compare(GLPI_VERSION, '9.3', 'lt') || version_compare(GLPI_VERSION, '9.4', 'ge')) {
echo __('This plugin requires GLPI >= 9.3');
return false;
}
Expand Down

0 comments on commit 891ea2f

Please sign in to comment.