Replace Logger with DI::logger() in theme folder

This commit is contained in:
Art4 2025-01-13 08:55:34 +00:00
parent 16d3c36391
commit ace375aacb
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ function frio_install()
Hook::register('nav_info', 'view/theme/frio/theme.php', 'frio_remote_nav'); Hook::register('nav_info', 'view/theme/frio/theme.php', 'frio_remote_nav');
Hook::register('display_item', 'view/theme/frio/theme.php', 'frio_display_item'); Hook::register('display_item', 'view/theme/frio/theme.php', 'frio_display_item');
Logger::info('installed theme frio'); DI::logger()->info('installed theme frio');
} }
/** /**

View file

@ -37,7 +37,7 @@ foreach (['style', $style] as $file) {
$modified = $stylemodified; $modified = $stylemodified;
} }
} else { } else {
Logger::warning('Missing CSS file', ['file' => $stylecssfile, 'uid' => $uid]); DI::logger()->warning('Missing CSS file', ['file' => $stylecssfile, 'uid' => $uid]);
} }
} }
$modified = gmdate('r', $modified); $modified = gmdate('r', $modified);