Skip to content

Commit

Permalink
style: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Oct 31, 2022
1 parent b89232e commit c81872e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down Expand Up @@ -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]);
Expand Down

0 comments on commit c81872e

Please sign in to comment.