mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
Move Global Functions - Part 3
- Replaced every CACHE_ definition
This commit is contained in:
parent
a8282d143e
commit
e67d810ecd
2 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ function openstreetmap_get_coordinates($a, &$b)
|
|||
$curlResult = Network::curl($nomserver . $args);
|
||||
if ($curlResult->isSuccess()) {
|
||||
$j = json_decode($curlResult->getBody(), true);
|
||||
Cache::set($cachekey, $j, CACHE_MONTH);
|
||||
Cache::set($cachekey, $j, Cache::MONTH);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue