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

@ -8,13 +8,12 @@
*/
use Friendica\Core\Hook;
use Friendica\Core\Logger;
function googlemaps_install()
{
Hook::register('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
Logger::notice('installed googlemaps');
DI::logger()->notice('installed googlemaps');
}
function googlemaps_location(&$item)