aboutsummaryrefslogtreecommitdiffstats
path: root/include/checksites.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-28 17:15:34 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-28 17:15:34 -0700
commit3b53cd56ef151586024cb99742a91d4a75afdb5b (patch)
treef0d02417d5cac33bb1d7999bbeefd11848b18d7f /include/checksites.php
parent6368b093375d50f929b0a419834299e6b62e274e (diff)
parent30e88a4f6b38e1d51ebcd97ac4b81c29f9ce4823 (diff)
downloadvolse-hubzilla-3b53cd56ef151586024cb99742a91d4a75afdb5b.tar.gz
volse-hubzilla-3b53cd56ef151586024cb99742a91d4a75afdb5b.tar.bz2
volse-hubzilla-3b53cd56ef151586024cb99742a91d4a75afdb5b.zip
Merge branch 'deadsite'
Diffstat (limited to 'include/checksites.php')
-rw-r--r--include/checksites.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/checksites.php b/include/checksites.php
index e14837255..e9c08c202 100644
--- a/include/checksites.php
+++ b/include/checksites.php
@@ -25,8 +25,9 @@ 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')
+ $r = q("select * from site where site_dead = 0 and site_update < %s - INTERVAL %s and site_type = %d $sql_options ",
+ db_utcnow(), db_quoteinterval($days . ' DAY'),
+ intval(SITE_TYPE_ZOT)
);
if(! $r)