mirror of
https://github.com/friendica/friendica
synced 2025-04-21 01:50:17 +00:00
Refactor dynamic App::getLogger() to static DI::logger()
This commit is contained in:
parent
fceb4f3823
commit
e2b2778e0a
9 changed files with 11 additions and 22 deletions
|
@ -19,7 +19,7 @@ class Statistics extends BaseModule
|
|||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
$config = DI::config();
|
||||
$logger = DI::app()->getLogger();
|
||||
$logger = DI::logger();
|
||||
|
||||
$registration_open =
|
||||
intval($config->get('config', 'register_policy')) !== Register::CLOSED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue