summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-17 07:57:33 +0100
committerAndrew Dolgov <[email protected]>2009-01-17 07:57:33 +0100
commitb6d486a3a4ce5d4fb732ecd8a6b6942eaf2917b6 (patch)
treeefd19c8d77a8bf35693d03ed433faec3f104395b /update_daemon2.php
parent0bdec4560ef0c846adacb4877557825f50d26363 (diff)
code cleanup; ccache category calculation for cid=0 corrected
Diffstat (limited to 'update_daemon2.php')
-rw-r--r--update_daemon2.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index a85bc1f52..45ba2fbf2 100644
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -162,18 +162,11 @@
print "warning: unable to create stampfile";
}
- // $last_purge = 0;
-
- // if (time() - $last_purge > PURGE_INTERVAL) {
-
// FIXME : $last_purge is of no use in a multiprocess update.
// FIXME : We ALWAYS purge old posts.
_debug("Purging old posts (random 30 feeds)...");
global_purge_old_posts($link, true, 30);
- // $last_purge = time();
- // }
-
// Call to the feed batch update function
// or regenerate feedbrowser cache