mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 20:08:49 +00:00
Replace call for Logger with DI::logger()
This commit is contained in:
parent
1cc5a6688e
commit
4310c1355d
20 changed files with 21 additions and 40 deletions
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\DI;
|
||||
|
||||
function leistungsschutzrecht_install()
|
||||
|
@ -168,7 +167,7 @@ function leistungsschutzrecht_cron($b)
|
|||
if ($last) {
|
||||
$next = $last + 86400;
|
||||
if ($next > time()) {
|
||||
Logger::notice('poll intervall not reached');
|
||||
DI::logger()->notice('poll intervall not reached');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue