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 c7c67ef commit 51568a4Copy full SHA for 51568a4
setup.php
@@ -29,8 +29,7 @@ function plugin_init_news() {
29
$PLUGIN_HOOKS['csrf_compliant']['news'] = true;
30
31
$plugin = new Plugin();
32
- if (isset($_SESSION['glpiactiveentities_string'])
33
- && $plugin->isInstalled('news')
+ if ($plugin->isInstalled('news')
34
&& $plugin->isActivated('news')) {
35
Plugin::registerClass('PluginNewsProfile', array('addtabon' => 'Profile'));
36
0 commit comments