From 064cf6a24f59ae0aefdadb7309e7ded301ce97ab Mon Sep 17 00:00:00 2001 From: moyooo Date: Tue, 19 Feb 2013 07:32:23 +0000 Subject: [PATCH] trunk used for 0.85 git-svn-id: https://forge.glpi-project.org/svn/example/trunk@210 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.php b/setup.php index f5e31a7..5b66d42 100755 --- a/setup.php +++ b/setup.php @@ -175,11 +175,11 @@ function plugin_init_example() { function plugin_version_example() { return array('name' => 'Plugin Example', - 'version' => '6.0', + 'version' => '7.0', 'author' => 'GLPI developer team', 'license' => 'GPLv2+', 'homepage' => 'https://forge.indepnet.net/projects/example', - 'minGlpiVersion' => '0.84');// For compatibility / no install in version < 0.80 + 'minGlpiVersion' => '0.85');// For compatibility / no install in version < 0.80 } @@ -187,8 +187,8 @@ function plugin_version_example() { function plugin_example_check_prerequisites() { // Strict version check (could be less strict, or could allow various version) - if (version_compare(GLPI_VERSION,'0.84','lt') /*|| version_compare(GLPI_VERSION,'0.84','gt')*/) { - echo "This plugin requires GLPI >= 0.84"; + if (version_compare(GLPI_VERSION,'0.85','lt') /*|| version_compare(GLPI_VERSION,'0.84','gt')*/) { + echo "This plugin requires GLPI >= 0.85"; return false; } return true;