mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Replace static calls of DI::app() with DI::apphelper()
This commit is contained in:
parent
4f16bbe5f5
commit
9074258b78
5 changed files with 8 additions and 12 deletions
|
@ -556,7 +556,7 @@ class Feed
|
|||
Logger::info('Feed is too old', ['created' => $item['created'], 'uid' => $item['uid'], 'uri' => $item['uri']]);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (!empty($item['plink'])) {
|
||||
$fetch_further_information = $contact['fetch_further_information'] ?? LocalRelationship::FFI_NONE;
|
||||
} else {
|
||||
|
@ -1014,7 +1014,7 @@ class Feed
|
|||
|
||||
// Display events in the user's timezone
|
||||
if (strlen($owner['timezone'])) {
|
||||
DI::app()->setTimeZone($owner['timezone']);
|
||||
DI::apphelper()->setTimeZone($owner['timezone']);
|
||||
}
|
||||
|
||||
$previous_created = $last_update;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue