Merge pull request #901 from MrPetovan/task/7710-rework-theme-session-vars

[forumdirectory] Remove direct access to $_SESSION['theme']
pull/902/head
Michael Vogel 2019-10-13 18:53:45 +02:00 committed by GitHub
commit 67de8c6ec1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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']);
} }
} }