]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/OEmbed.php
Move Global Functions - Part 3
[friendica.git] / src / Content / OEmbed.php
index 116120ab552474c4dfe3e8132ea995bb76716293..cfe9468ad57a58a0f893b0fb9d16522aa59e60fc 100644 (file)
@@ -120,9 +120,9 @@ class OEmbed
                                        'content' => $json_string,
                                        'created' => DateTimeFormat::utcNow()
                                ], true);
-                               $cache_ttl = CACHE_DAY;
+                               $cache_ttl = Cache::DAY;
                        } else {
-                               $cache_ttl = CACHE_FIVE_MINUTES;
+                               $cache_ttl = Cache::FIVE_MINUTES;
                        }
 
                        Cache::set($cache_key, $json_string, $cache_ttl);