mirror of
https://github.com/friendica/friendica
synced 2025-05-08 19:44:10 +02:00
Replace Logger with $this->logger in Module Mastodon classes
This commit is contained in:
parent
6f91b16403
commit
b0a5494a8f
12 changed files with 18 additions and 35 deletions
|
@ -7,7 +7,6 @@
|
|||
|
||||
namespace Friendica\Module\Api\Mastodon\Timelines;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Item;
|
||||
|
@ -79,7 +78,7 @@ class Home extends BaseApi
|
|||
$this->updateBoundaries($status, $item, $request['friendica_order']);
|
||||
$statuses[] = $status;
|
||||
} catch (\Throwable $th) {
|
||||
Logger::info('Post not fetchable', ['uri-id' => $item['uri-id'], 'uid' => $uid, 'error' => $th]);
|
||||
$this->logger->info('Post not fetchable', ['uri-id' => $item['uri-id'], 'uid' => $uid, 'error' => $th]);
|
||||
}
|
||||
}
|
||||
DBA::close($items);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue