From d5a3035632e34089aa6f9aafd35685896d5e122a Mon Sep 17 00:00:00 2001 From: moyooo Date: Wed, 16 Dec 2009 15:51:01 +0000 Subject: [PATCH] clean itemtype definition git-svn-id: https://forge.glpi-project.org/svn/example/trunk@123 349b9182-4a13-0410-896f-e5e9767dd1b3 --- setup.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/setup.php b/setup.php index fe741f7..0967d81 100755 --- a/setup.php +++ b/setup.php @@ -40,17 +40,12 @@ function plugin_init_example() { // Params : plugin name - string type - ID - Array of attributes Plugin::registerClass('PluginExampleExample', array('classname' => 'PluginExampleExample', - 'formpage' => 'front/example.form.php', - 'deleted_tables' => false, - 'template_tables' => false, - 'specif_entities_tables' => false, - 'recursive_type' => false)); + )); // Params : plugin name - string type - ID - Array of attributes Plugin::registerClass('PluginExampleDropdown', array('classname' => 'PluginExampleDropdown', - 'typename' => 'Example Dropdown Type', - 'formpage' => 'front/dropdown.form.php')); + 'typename' => 'Example Dropdown Type')); // Display a menu entry ? if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook