mirror of
https://github.com/friendica/friendica
synced 2025-04-25 22:30:10 +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
|
@ -18,9 +18,8 @@ class Nodeinfo
|
|||
*/
|
||||
public static function update()
|
||||
{
|
||||
$app = DI::app();
|
||||
$config = DI::config();
|
||||
$logger = $app->getLogger();
|
||||
$logger = DI::logger();
|
||||
|
||||
// If the addon 'statistics_json' is enabled then disable it and activate nodeinfo.
|
||||
if (Addon::isEnabled('statistics_json')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue