1
0
Fork 0

Move Core\Session::get() to DI::session()->get()

This commit is contained in:
Philipp Holzer 2022-10-18 21:10:37 +02:00
commit 7ac86e49d1
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
15 changed files with 36 additions and 31 deletions

View file

@ -207,7 +207,7 @@ function frio_remote_nav(App $a, array &$nav_info)
// get the homelink from $_SESSION
$homelink = Profile::getMyURL();
if (!$homelink) {
$homelink = Session::get('visitor_home', '');
$homelink = DI::session()->get('visitor_home', '');
}
// since $userinfo isn't available for the hook we write it to the nav array