]> git.mxchange.org Git - friendica.git/commitdiff
Replace Logger with DI::logger() in theme folder
authorArt4 <art4@wlabs.de>
Mon, 13 Jan 2025 08:55:34 +0000 (08:55 +0000)
committerArt4 <art4@wlabs.de>
Mon, 13 Jan 2025 08:55:34 +0000 (08:55 +0000)
view/theme/frio/theme.php
view/theme/vier/style.php

index a1ab35805bbc14db1393c446ce329887bea4e342..3779b3a5f4de6269fff67534b20aee6d6f51e245 100644 (file)
@@ -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');
 }
 
 /**
index 9c32e41bcef0c36ceb49d68b2a68e40ff9a6b8f5..694fd663b262831b60f2bff6af9dbb05d6356cb0 100644 (file)
@@ -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);