Replace Logger with $this->logger in Module Twitter classes

This commit is contained in:
Art4 2025-01-13 11:55:30 +00:00
parent b0a5494a8f
commit d4873dbc6b
6 changed files with 9 additions and 16 deletions

View file

@ -7,7 +7,6 @@
namespace Friendica\Module\Api\Twitter;
use Friendica\Core\Logger;
use Friendica\Database\DBA;
use Friendica\Model\Item;
use Friendica\Module\BaseApi;
@ -29,7 +28,7 @@ class Favorites extends BaseApi
// in friendica starred item are private
// return favorites only for self
Logger::info(BaseApi::LOG_PREFIX . 'for {self}', ['module' => 'api', 'action' => 'favorites']);
$this->logger->info(BaseApi::LOG_PREFIX . 'for {self}', ['module' => 'api', 'action' => 'favorites']);
// params
$count = $this->getRequestValue($request, 'count', 20, 1, 100);