aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-22 19:16:13 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-22 19:16:13 -0700
commitd35c5bcb2f425bf498eae53c5ac268a96c808cb9 (patch)
tree114c0dc95c4cf3baa514de13ca2ed0c1759dd388
parentc699d3a17a8867554761ab17f773f3f1304bda3c (diff)
downloadvolse-hubzilla-d35c5bcb2f425bf498eae53c5ac268a96c808cb9.tar.gz
volse-hubzilla-d35c5bcb2f425bf498eae53c5ac268a96c808cb9.tar.bz2
volse-hubzilla-d35c5bcb2f425bf498eae53c5ac268a96c808cb9.zip
merge issue
-rw-r--r--include/zot.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/zot.php b/include/zot.php
index 86e9da5f3..288493b07 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2816,10 +2816,8 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
$channel = $r[0];
- $h = q("select * from hubloc where hubloc_hash = '%s' and not (hubloc_flags & %d) > 0 and not (hubloc_status & %d) > 0",
- dbesc($channel['channel_hash']),
- intval(HUBLOC_FLAGS_DELETED),
- intval(HUBLOC_OFFLINE)
+ $h = q("select * from hubloc where hubloc_hash = '%s' and hubloc_deleted = 0",
+ dbesc($channel['channel_hash'])
);
if(! $h)