mirror of
https://github.com/friendica/friendica
synced 2025-05-08 19:44:10 +02:00
Replace Logger with DI::logger() in many Worker classes
This commit is contained in:
parent
1762d1e72d
commit
8fe3383976
19 changed files with 70 additions and 83 deletions
|
@ -7,7 +7,6 @@
|
|||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\DI;
|
||||
use Friendica\Protocol\Delivery;
|
||||
|
@ -35,7 +34,7 @@ class ProfileUpdate {
|
|||
$inboxes = ActivityPub\Transmitter::fetchTargetInboxesforUser($uid);
|
||||
|
||||
foreach ($inboxes as $inbox => $receivers) {
|
||||
Logger::info('Profile update for user ' . $uid . ' to ' . $inbox .' via ActivityPub');
|
||||
DI::logger()->info('Profile update for user ' . $uid . ' to ' . $inbox .' via ActivityPub');
|
||||
Worker::add(['priority' => $appHelper->getQueueValue('priority'), 'created' => $appHelper->getQueueValue('created'), 'dont_fork' => true],
|
||||
'APDelivery',
|
||||
Delivery::PROFILEUPDATE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue