1
0
Fork 0

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
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

@ -381,7 +381,7 @@ class Probe
// Only store into the cache if the value seems to be valid
if (!in_array($data['network'], [Protocol::PHANTOM, Protocol::MAIL])) {
Cache::set("Probe::uri:".$network.":".$uri, $data, CACHE_DAY);
Cache::set("Probe::uri:".$network.":".$uri, $data, Cache::DAY);
/// @todo temporary fix - we need a real contact update function that updates only changing fields
/// The biggest problem is the avatar picture that could have a reduced image size.