From 021c81cb62210cb33e9cc155a918b7ed5ebc20ac Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 14 Sep 2015 20:43:39 -0700 Subject: don't deliver to dead hubs --- include/checksites.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/checksites.php') diff --git a/include/checksites.php b/include/checksites.php index ab91dc768..e14837255 100644 --- a/include/checksites.php +++ b/include/checksites.php @@ -25,12 +25,10 @@ function checksites_run($argv, $argc){ if($days < 1) $days = 30; - $r = q("select * from site where site_dead = 0 and site_update < %s - INTERVAL %s $sql_options ", db_utcnow(), db_quoteinterval($days . ' DAY') ); - if(! $r) return; -- cgit v1.2.3