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

pull/14688/head
Art4 2025-01-13 08:55:34 +00:00
rodzic 16d3c36391
commit ace375aacb
2 zmienionych plików z 2 dodań i 2 usunięć
view/theme

Wyświetl plik

@ -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');
}
/**

Wyświetl plik

@ -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);