mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 05:34:25 +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,8 +7,6 @@
|
|||
|
||||
namespace Friendica\Module\Api\Twitter\Media;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Photo;
|
||||
use Friendica\Module\BaseApi;
|
||||
use Friendica\Network\HTTPException\BadRequestException;
|
||||
|
@ -49,7 +47,7 @@ class Upload extends BaseApi
|
|||
"friendica_preview_url" => $media["preview"]
|
||||
];
|
||||
|
||||
Logger::info('Media uploaded', ['return' => $returndata]);
|
||||
$this->logger->info('Media uploaded', ['return' => $returndata]);
|
||||
|
||||
$this->response->addFormattedContent('media', ['media' => $returndata], $this->parameters['extension'] ?? null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue