aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:49:28 -0700
committerFriendika <info@friendika.com>2011-10-24 15:49:28 -0700
commitea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890 (patch)
treec6619ec376c662c381caf03fbc1e72db887bfa8d /include/poller.php
parentf48fd5aa1651cdc801473e9d24c1736304533e63 (diff)
parent2905df527f2fbc9b426ebc89a53adc5c6cf1ee47 (diff)
downloadvolse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.tar.gz
volse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.tar.bz2
volse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.zip
Merge pull request #35 from fabrixxm/master
Use oembed if possible without the addon Awesome!
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;