mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Replace Logger with DI::logger() in theme folder
This commit is contained in:
parent
16d3c36391
commit
ace375aacb
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue