]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
hmmm - why won't poco xml work
[friendica.git] / include / poller.php
index cef0647b596f50de31f6c6f49454deb38f37de96..a19f0716f6758e7c23e0506c51cb49c06b02cc50 100644 (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;