mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
cache api
This commit is contained in:
parent
d80c0da3c0
commit
306036c626
4 changed files with 37 additions and 12 deletions
|
@ -64,8 +64,7 @@ function poller_run($argv, $argc){
|
|||
}
|
||||
|
||||
// clear old cache
|
||||
q("DELETE FROM `cache` WHERE `updated` < '%s'",
|
||||
dbesc(datetime_convert('UTC','UTC',"now - 30 days")));
|
||||
Cache::clear();
|
||||
|
||||
$manual_id = 0;
|
||||
$generation = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue