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
|
@ -45,7 +45,6 @@
|
|||
*/
|
||||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\DI;
|
||||
|
@ -77,7 +76,7 @@ function blackout_redirect ($b)
|
|||
}
|
||||
|
||||
if (( $date1 <= $now ) && ( $now <= $date2 )) {
|
||||
Logger::notice('redirecting user to blackout page');
|
||||
DI::logger()->notice('redirecting user to blackout page');
|
||||
System::externalRedirect($myurl);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue