forked from friendica/friendica-addons
[forumdirectory] Remove direct access to $_SESSION['theme']
This commit is contained in:
parent
f573907bd2
commit
d9436bd104
|
@ -42,8 +42,6 @@ function forumdirectory_init(App $a)
|
||||||
{
|
{
|
||||||
if (local_user()) {
|
if (local_user()) {
|
||||||
$a->page['aside'] .= Widget::findPeople();
|
$a->page['aside'] .= Widget::findPeople();
|
||||||
} else {
|
|
||||||
unset($_SESSION['theme']);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue