Skip to content
Permalink
Browse files

fix: duplicate menu entry

  • Loading branch information...
btry committed Aug 28, 2019
1 parent 167b368 commit 4075b1ec388dce341467e9861fa464ae43684fe5
Showing with 0 additions and 8 deletions.
  1. +0 −8 setup.php
@@ -234,14 +234,6 @@ function plugin_init_formcreator() {
Plugin::registerClass(PluginFormcreatorEntityconfig::class, ['addtabon' => Entity::class]);
}
if (strpos($_SERVER['REQUEST_URI'], 'plugins/formcreator') !== false
|| strpos($_SERVER['REQUEST_URI'], 'central.php') !== false
|| isset($_SESSION['glpiactiveprofile']) &&
$_SESSION['glpiactiveprofile']['interface'] == 'helpdesk') {
// Add specific JavaScript
$PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'js/scripts.js.php';
}
}
}

0 comments on commit 4075b1e

Please sign in to comment.
You can’t perform that action at this time.