mirror of
https://github.com/friendica/friendica
synced 2025-05-13 08:24:17 +02:00
Replace Logger with $this->logger in Module Twitter classes
This commit is contained in:
parent
b0a5494a8f
commit
d4873dbc6b
6 changed files with 9 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue