[various] Remove App dependency from hook functions
This commit is contained in:
parent
b53914ee11
commit
39c654da00
87 changed files with 419 additions and 451 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue