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

[forumdirectory] Remove direct access to $_SESSION['theme']
This commit is contained in:
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

View file

@ -42,8 +42,6 @@ function forumdirectory_init(App $a)
{
if (local_user()) {
$a->page['aside'] .= Widget::findPeople();
} else {
unset($_SESSION['theme']);
}
}