No declaration of type if no specific informations to add

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@124 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2009-12-16 15:58:57 +00:00
parent d5a3035632
commit 1fc007a429

View File

@ -38,9 +38,10 @@ function plugin_init_example() {
global $PLUGIN_HOOKS,$LANG,$CFG_GLPI;
// Params : plugin name - string type - ID - Array of attributes
Plugin::registerClass('PluginExampleExample',
array('classname' => 'PluginExampleExample',
));
// No specific information passed so not needed
//Plugin::registerClass('PluginExampleExample',
// array('classname' => 'PluginExampleExample',
// ));
// Params : plugin name - string type - ID - Array of attributes
Plugin::registerClass('PluginExampleDropdown',