From ace375aacb5e3abb514cbfd200fb85c61d3f8371 Mon Sep 17 00:00:00 2001 From: Art4 Date: Mon, 13 Jan 2025 08:55:34 +0000 Subject: [PATCH] Replace Logger with DI::logger() in theme folder --- view/theme/frio/theme.php | 2 +- view/theme/vier/style.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index a1ab35805b..3779b3a5f4 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -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'); } /** diff --git a/view/theme/vier/style.php b/view/theme/vier/style.php index 9c32e41bce..694fd663b2 100644 --- a/view/theme/vier/style.php +++ b/view/theme/vier/style.php @@ -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);