mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:50:12 +00:00
Add native media types and expiration to getSiteInfo
This commit is contained in:
parent
7de03eb13f
commit
69802554fd
3 changed files with 56 additions and 37 deletions
|
@ -64,7 +64,7 @@ class ClearCache
|
|||
// Delete the cached OEmbed entries that are older than three month
|
||||
DBA::delete('oembed', ["`created` < NOW() - INTERVAL 3 MONTH"]);
|
||||
|
||||
// Delete the cached "parse_url" entries that are older than three month
|
||||
DBA::delete('parsed_url', ["`created` < NOW() - INTERVAL 3 MONTH"]);
|
||||
// Delete the cached "parsed_url" entries that are expired
|
||||
DBA::delete('parsed_url', ["`expires` < NOW()"]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue