Merge pull request #901 from MrPetovan/task/7710-rework-theme-session-vars
[forumdirectory] Remove direct access to $_SESSION['theme']pull/902/head
commit
67de8c6ec1
|
@ -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 New Issue