kopia lustrzana https://github.com/friendica/friendica
Replace Logger with DI::logger() in theme folder
rodzic
16d3c36391
commit
ace375aacb
|
@ -65,7 +65,7 @@ function frio_install()
|
|||
Hook::register('nav_info', 'view/theme/frio/theme.php', 'frio_remote_nav');
|
||||
Hook::register('display_item', 'view/theme/frio/theme.php', 'frio_display_item');
|
||||
|
||||
Logger::info('installed theme frio');
|
||||
DI::logger()->info('installed theme frio');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,7 +37,7 @@ foreach (['style', $style] as $file) {
|
|||
$modified = $stylemodified;
|
||||
}
|
||||
} else {
|
||||
Logger::warning('Missing CSS file', ['file' => $stylecssfile, 'uid' => $uid]);
|
||||
DI::logger()->warning('Missing CSS file', ['file' => $stylecssfile, 'uid' => $uid]);
|
||||
}
|
||||
}
|
||||
$modified = gmdate('r', $modified);
|
||||
|
|
Ładowanie…
Reference in New Issue