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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue