Replace Logger with DI::logger() in Content namespace
This commit is contained in:
parent
d4c90d41a0
commit
8c89c37775
5 changed files with 17 additions and 22 deletions
|
@ -7,7 +7,6 @@
|
|||
|
||||
namespace Friendica\Content\Text;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
|
||||
|
@ -97,7 +96,7 @@ class Markdown
|
|||
{
|
||||
// @TODO Temporary until we find the source of the null value to finally set the correct type-hint
|
||||
if (is_null($s)) {
|
||||
Logger::warning('Received null value');
|
||||
DI::logger()->warning('Received null value');
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue