We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167b368 commit 4075b1eCopy full SHA for 4075b1e
setup.php
@@ -234,14 +234,6 @@ function plugin_init_formcreator() {
234
235
Plugin::registerClass(PluginFormcreatorEntityconfig::class, ['addtabon' => Entity::class]);
236
}
237
-
238
- if (strpos($_SERVER['REQUEST_URI'], 'plugins/formcreator') !== false
239
- || strpos($_SERVER['REQUEST_URI'], 'central.php') !== false
240
- || isset($_SESSION['glpiactiveprofile']) &&
241
- $_SESSION['glpiactiveprofile']['interface'] == 'helpdesk') {
242
- // Add specific JavaScript
243
- $PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'js/scripts.js.php';
244
- }
245
246
247
0 commit comments