aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:51:14 -0700
committerFriendika <info@friendika.com>2011-10-24 15:51:14 -0700
commit4218e3f4945af7101c626852bda09d2c591b8e0c (patch)
tree030da13cbe8c738c038cba1cd608913dc23f64ed /include/poller.php
parent3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b (diff)
parentea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890 (diff)
downloadvolse-hubzilla-4218e3f4945af7101c626852bda09d2c591b8e0c.tar.gz
volse-hubzilla-4218e3f4945af7101c626852bda09d2c591b8e0c.tar.bz2
volse-hubzilla-4218e3f4945af7101c626852bda09d2c591b8e0c.zip
Merge branch 'pull'
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;