]> git.mxchange.org Git - friendica-addons.git/blobdiff - openstreetmap/openstreetmap.php
Move Global Functions - Part 3
[friendica-addons.git] / openstreetmap / openstreetmap.php
index 0420591eb95b414fc8288afd344c9f07fb2f8e21..a1cdd3a1bc2824357f96adb2d3e7b8728c9d1299 100644 (file)
@@ -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);
                }
        }