mirror of
https://github.com/friendica/friendica
synced 2025-05-03 05:44:10 +02:00
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:
parent
ec9f1563f9
commit
4392858662
16 changed files with 43 additions and 70 deletions
|
@ -253,7 +253,7 @@ class Photo
|
|||
DBA::escape(L10n::t('Contact Photos'))
|
||||
);
|
||||
}
|
||||
Cache::set($key, $albums, CACHE_DAY);
|
||||
Cache::set($key, $albums, Cache::DAY);
|
||||
}
|
||||
return $albums;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ class Photo
|
|||
public static function clearAlbumCache($uid)
|
||||
{
|
||||
$key = "photo_albums:".$uid.":".local_user().":".remote_user();
|
||||
Cache::set($key, null, CACHE_DAY);
|
||||
Cache::set($key, null, Cache::DAY);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue