mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:04:27 +02: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