Move Core\Session::get() to DI::session()->get()
This commit is contained in:
parent
99d5441007
commit
7ac86e49d1
15 changed files with 36 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue