[various] Remove App dependency from hook functions

This commit is contained in:
Hypolite Petovan 2023-01-13 21:16:09 -05:00
parent b53914ee11
commit 39c654da00
87 changed files with 419 additions and 451 deletions

View file

@ -18,7 +18,7 @@ function googlemaps_install()
Logger::notice('installed googlemaps');
}
function googlemaps_location(App $a, &$item)
function googlemaps_location(&$item)
{
if (!(strlen($item['location']) || strlen($item['coord']))) {
return;