fix display version check

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@159 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2011-07-30 04:13:12 +00:00
parent a9b4abfa03
commit cbb4db911c

View File

@ -172,7 +172,7 @@ function plugin_example_check_prerequisites() {
// Strict version check (could be less strict, or could allow various version)
if (version_compare(GLPI_VERSION,'0.83','lt') || version_compare(GLPI_VERSION,'0.84','ge')) {
echo "This plugin requires GLPI >= 0.80";
echo "This plugin requires GLPI >= 0.83";
return false;
}
return true;