From c81872e5a7d6f76ff15dc9edca5166ca1c783825 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Mon, 31 Oct 2022 14:33:46 +0100 Subject: [PATCH] style: code cleanup --- setup.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.php b/setup.php index a1c1e7c57..a8254819b 100644 --- a/setup.php +++ b/setup.php @@ -163,7 +163,6 @@ function plugin_init_formcreator() { } } - // Html::requireJs('gridstack'); $CFG_GLPI['javascript']['admin'][strtolower(PluginFormcreatorForm::class)] = ['gridstack']; $CFG_GLPI['javascript']['helpdesk'][strtolower(PluginFormcreatorFormlist::class)] = ['gridstack']; $CFG_GLPI['javascript']['helpdesk'][strtolower(PluginFormcreatorIssue::class)] = ['photoswipe']; @@ -383,7 +382,6 @@ function plugin_formcreator_hook(): void { function plugin_formcreator_registerClasses() { // Load menu entries if user is logged in and if he has access to at least one form if (Session::getLoginUserID() !== false) { - Plugin::registerClass(PluginFormcreatorEntityconfig::class, ['addtabon' => Entity::class]); } Plugin::registerClass(PluginFormcreatorForm::class, ['addtabon' => Central::class]);