mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
This commit is contained in:
parent
72c24efe5b
commit
19b2c8d833
9 changed files with 14 additions and 16 deletions
|
@ -52,7 +52,7 @@ function geocoordinates_resolve_item(&$item)
|
|||
return;
|
||||
}
|
||||
|
||||
$s = DI::httpRequest()->fetchUrl("https://api.opencagedata.com/geocode/v1/json?q=" . $coords[0] . "," . $coords[1] . "&key=" . $key . "&language=" . $language);
|
||||
$s = DI::httpRequest()->fetch("https://api.opencagedata.com/geocode/v1/json?q=" . $coords[0] . "," . $coords[1] . "&key=" . $key . "&language=" . $language);
|
||||
|
||||
if (!$s) {
|
||||
Logger::log("API could not be queried", Logger::DEBUG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue