Skip to content

Commit 51568a4

Browse files
committed
Revert session check; fixes #26
This finally revert 352d096
1 parent c7c67ef commit 51568a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ function plugin_init_news() {
2929
$PLUGIN_HOOKS['csrf_compliant']['news'] = true;
3030

3131
$plugin = new Plugin();
32-
if (isset($_SESSION['glpiactiveentities_string'])
33-
&& $plugin->isInstalled('news')
32+
if ($plugin->isInstalled('news')
3433
&& $plugin->isActivated('news')) {
3534
Plugin::registerClass('PluginNewsProfile', array('addtabon' => 'Profile'));
3635

0 commit comments

Comments
 (0)