diff options
author | zottel <github@zottel.net> | 2015-09-29 12:40:24 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-09-29 12:40:24 +0200 |
commit | f950d27b3debfe08e022a477dbfb4fac101106e4 (patch) | |
tree | 38f62f0828163715c634e17290e2d77eb29d1b32 /include/checksites.php | |
parent | 8e410f14b1b5b23e4c7e41d4902ac7b9cb529c1b (diff) | |
parent | 2a2da48d1871f408232a8397632f06528c8b43ae (diff) | |
download | volse-hubzilla-f950d27b3debfe08e022a477dbfb4fac101106e4.tar.gz volse-hubzilla-f950d27b3debfe08e022a477dbfb4fac101106e4.tar.bz2 volse-hubzilla-f950d27b3debfe08e022a477dbfb4fac101106e4.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/checksites.php')
-rw-r--r-- | include/checksites.php | 5 |
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) |