cache api

This commit is contained in:
Fabio Comuni 2011-10-24 13:02:38 +02:00
parent d80c0da3c0
commit 306036c626
4 changed files with 37 additions and 12 deletions

View file

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