Move Global Functions - Part 3

- Replaced every CACHE definition
- Moved check_url to App->checkURL()
- Removed unused definition "ZCURL_TIMEOUT"
This commit is contained in:
Philipp Holzer 2018-10-20 18:19:55 +02:00
parent ec9f1563f9
commit 4392858662
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
16 changed files with 43 additions and 70 deletions

View file

@ -2210,7 +2210,7 @@ class OStatus
$feeddata = trim($doc->saveXML());
$msg = ['feed' => $feeddata, 'last_update' => $last_update];
Cache::set($cachekey, $msg, CACHE_QUARTER_HOUR);
Cache::set($cachekey, $msg, Cache::QUARTER_HOUR);
logger('Feed duration: ' . number_format(microtime(true) - $stamp, 3) . ' - ' . $owner_nick . ' - ' . $filter . ' - ' . $previous_created, LOGGER_DEBUG);