From 7d57e848d3db05a5253726d6052e38b07a4d569e Mon Sep 17 00:00:00 2001 From: remicollet Date: Wed, 2 Jan 2008 16:34:37 +0000 Subject: [PATCH] [example] - add minGlpiVersion and maxGlpiVersion git-svn-id: https://forge.glpi-project.org/svn/example/trunk@39 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.php b/setup.php index 2c62cfb..7309c46 100755 --- a/setup.php +++ b/setup.php @@ -125,8 +125,11 @@ class pluginExample extends CommonDBTM { // Get the name and the version of the plugin - Needed function plugin_version_example(){ - return array( 'name' => 'Plugin Example', - 'version' => '0.0.1'); + return array( + 'name' => 'Plugin Example', + 'minGlpiVersion' => '0.71', // Optional but recommended + 'maxGlpiVersion' => '0.71', // Optional + 'version' => '0.0.1'); } // Define rights for the plugin types