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 0c4736e commit c4d4792Copy full SHA for c4d4792
setup.php
@@ -245,14 +245,6 @@ function plugin_init_formcreator() {
245
246
Plugin::registerClass(PluginFormcreatorEntityconfig::class, ['addtabon' => Entity::class]);
247
}
248
-
249
- if (strpos($_SERVER['REQUEST_URI'], 'plugins/formcreator') !== false
250
- || strpos($_SERVER['REQUEST_URI'], 'central.php') !== false
251
- || isset($_SESSION['glpiactiveprofile']) &&
252
- $_SESSION['glpiactiveprofile']['interface'] == 'helpdesk') {
253
- // Add specific JavaScript
254
- $PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'js/scripts.js.php';
255
- }
256
257
258
0 commit comments