Merge pull request #901 from MrPetovan/task/7710-rework-theme-session-vars
[forumdirectory] Remove direct access to $_SESSION['theme']
This commit is contained in:
commit
67de8c6ec1
1 changed files with 0 additions and 2 deletions
|
@ -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