mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48: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_timeline_run($argv, $argc)
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ function bluesky_timeline_run($argv, $argc)
|
|||
return;
|
||||
}
|
||||
|
||||
Logger::notice('importing timeline - start', ['user' => $argv[1]]);
|
||||
DI::logger()->notice('importing timeline - start', ['user' => $argv[1]]);
|
||||
bluesky_fetch_timeline($argv[1]);
|
||||
Logger::notice('importing timeline - done', ['user' => $argv[1]]);
|
||||
DI::logger()->notice('importing timeline - done', ['user' => $argv[1]]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue