mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 17:44:31 +02:00
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
|
@ -139,7 +139,7 @@ class Status extends BaseProfile
|
|||
// Get permissions SQL - if $remote_contact is true, our remote user has been pre-verified and we already have fetched his/her groups
|
||||
$condition = Item::getPermissionsConditionArrayByUserId($profile['uid']);
|
||||
|
||||
$last_updated_array = Session::get('last_updated', []);
|
||||
$last_updated_array = DI::session()->get('last_updated', []);
|
||||
|
||||
if (!empty($category)) {
|
||||
$condition = DBA::mergeConditions($condition, ["`uri-id` IN (SELECT `uri-id` FROM `category-view` WHERE `name` = ? AND `type` = ? AND `uid` = ?)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue