mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Replace call for Logger with DI::logger() in bluesky addon
This commit is contained in:
parent
41f280f0c7
commit
d78ea50516
4 changed files with 56 additions and 57 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\DI;
|
||||
|
||||
function bluesky_notifications_run($argv, $argc)
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ function bluesky_notifications_run($argv, $argc)
|
|||
return;
|
||||
}
|
||||
|
||||
Logger::notice('importing notifications - start', ['user' => $argv[1]]);
|
||||
DI::logger()->notice('importing notifications - start', ['user' => $argv[1]]);
|
||||
bluesky_fetch_notifications($argv[1]);
|
||||
Logger::notice('importing notifications - done', ['user' => $argv[1]]);
|
||||
DI::logger()->notice('importing notifications - done', ['user' => $argv[1]]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue