Replace call for Logger with DI::logger()

This commit is contained in:
Art4 2025-01-24 10:53:01 +00:00
parent 1cc5a6688e
commit 4310c1355d
20 changed files with 21 additions and 40 deletions

View file

@ -9,7 +9,6 @@
*/
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\DI;
use Friendica\Model\Notification;
@ -20,7 +19,7 @@ function gnot_install()
Hook::register('addon_settings_post', 'addon/gnot/gnot.php', 'gnot_settings_post');
Hook::register('enotify_mail', 'addon/gnot/gnot.php', 'gnot_enotify_mail');
Logger::notice("installed gnot");
DI::logger()->notice("installed gnot");
}
/**