aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-24 13:02:38 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-24 13:02:38 +0200
commit306036c62613fd849a80c83c50cd220f75e64c90 (patch)
tree71140cb3ff83f3f9183284defbda67c2da49f94e /include/poller.php
parentd80c0da3c0bf2ab599f5d013d5c947823d917363 (diff)
downloadvolse-hubzilla-306036c62613fd849a80c83c50cd220f75e64c90.tar.gz
volse-hubzilla-306036c62613fd849a80c83c50cd220f75e64c90.tar.bz2
volse-hubzilla-306036c62613fd849a80c83c50cd220f75e64c90.zip
cache api
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/poller.php b/include/poller.php
index cef0647b5..a19f0716f 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -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;