don't deliver to dead hubs

This commit is contained in:
redmatrix
2015-09-14 20:43:39 -07:00
parent 7099e09a5c
commit 021c81cb62
2 changed files with 18 additions and 27 deletions
-2
View File
@@ -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;