Move Core\Session::get() to DI::session()->get()
This commit is contained in:
@@ -66,7 +66,7 @@ class Profile extends BaseModule
|
||||
// Get permissions SQL - if $remote_contact is true, our remote user has been pre-verified and we already have fetched his/her groups
|
||||
$sql_extra = Item::getPermissionsSQLByUserId($a->getProfileOwner());
|
||||
|
||||
$last_updated_array = Session::get('last_updated', []);
|
||||
$last_updated_array = DI::session()->get('last_updated', []);
|
||||
|
||||
$last_updated = $last_updated_array[$last_updated_key] ?? 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user