diff options
author | zottel <github@zottel.net> | 2016-07-14 20:49:26 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2016-07-14 20:49:26 +0200 |
commit | a2461d98168fc132a7bf447a9806f0537361fd69 (patch) | |
tree | ceaab889a4fbb584ec37969087560a115ff649ca /include/zot.php | |
parent | ecc06aad240a5e9babb29a512be434a107d4a291 (diff) | |
parent | f60a0c5ce050febb0b200938eb51d88cf563b88f (diff) | |
download | volse-hubzilla-a2461d98168fc132a7bf447a9806f0537361fd69.tar.gz volse-hubzilla-a2461d98168fc132a7bf447a9806f0537361fd69.tar.bz2 volse-hubzilla-a2461d98168fc132a7bf447a9806f0537361fd69.zip |
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index 6dd789181..45347ef22 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3014,7 +3014,12 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) { if($x['hubloc_host'] == App::get_hostname()) continue; - $synchubs[] = $x; + $y = q("select site_dead from site where site_url = '%s' limit 1", + dbesc($x['hubloc_url']) + ); + + if((! $y) || ($y[0]['site_dead'] == 0)) + $synchubs[] = $x; } if(! $synchubs) |