mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +00:00
Replace call for Logger with DI::logger()
This commit is contained in:
parent
1cc5a6688e
commit
4310c1355d
20 changed files with 21 additions and 40 deletions
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
|
||||
|
@ -16,7 +15,7 @@ function numfriends_install() {
|
|||
Hook::register('addon_settings', 'addon/numfriends/numfriends.php', 'numfriends_settings');
|
||||
Hook::register('addon_settings_post', 'addon/numfriends/numfriends.php', 'numfriends_settings_post');
|
||||
|
||||
Logger::notice("installed numfriends");
|
||||
DI::logger()->notice("installed numfriends");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue