mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
back to 0.78
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@139 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -148,17 +148,17 @@ function plugin_version_example() {
|
||||
'version' => '0.2.0',
|
||||
'author' => 'Julien Dombre',
|
||||
'homepage' => 'https://forge.indepnet.net/projects/show/example',
|
||||
'minGlpiVersion' => '0.80');// For compatibility / no install in version < 0.72
|
||||
'minGlpiVersion' => '0.78');// For compatibility / no install in version < 0.72
|
||||
}
|
||||
|
||||
|
||||
// Optional : check prerequisites before install : may print errors or add to message after redirect
|
||||
function plugin_example_check_prerequisites() {
|
||||
|
||||
if (GLPI_VERSION >= 0.80) {
|
||||
if (GLPI_VERSION >= 0.78) {
|
||||
return true;
|
||||
} else {
|
||||
echo "GLPI version not compatible need 0.80";
|
||||
echo "GLPI version not compatible need 0.78";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user