Replace static calls of DI::app() with DI::apphelper()

This commit is contained in:
Art4 2024-11-06 07:57:43 +00:00
parent 4f16bbe5f5
commit 9074258b78
5 changed files with 8 additions and 12 deletions

View file

@ -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;