mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
[example] - add minGlpiVersion and maxGlpiVersion
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@39 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
c9672ae1b8
commit
7d57e848d3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user