]> git.mxchange.org Git - friendica-addons.git/blobdiff - googlemaps/googlemaps.php
[various] Remove App dependency from hook functions
[friendica-addons.git] / googlemaps / googlemaps.php
index 5edc4cabfaa06636ee328c77ec8adf36feb69bed..356ce68ca5f8b24b009ff98e5495ae68cb60eadc 100644 (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;