aboutsummaryrefslogtreecommitdiffstats
path: root/mod/receive.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-15 17:28:52 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-15 17:28:52 -0700
commit859a2ac8ef1c3ce234b894598be846cbc89cf54a (patch)
tree05993acfb095fa16db4145ad84f4db51f377213c /mod/receive.php
parent91d92fe6fcbd98e33fb6f76a63e91ebb086aeff0 (diff)
downloadvolse-hubzilla-859a2ac8ef1c3ce234b894598be846cbc89cf54a.tar.gz
volse-hubzilla-859a2ac8ef1c3ce234b894598be846cbc89cf54a.tar.bz2
volse-hubzilla-859a2ac8ef1c3ce234b894598be846cbc89cf54a.zip
DB changes for some channel flags
Diffstat (limited to 'mod/receive.php')
-rw-r--r--mod/receive.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/receive.php b/mod/receive.php
index deaf8cb37..571f736ed 100644
--- a/mod/receive.php
+++ b/mod/receive.php
@@ -31,9 +31,8 @@ function receive_post(&$a) {
// Diaspora sites *may* provide a truncated guid.
- $r = q("SELECT * FROM channel left join xchan on channel_hash = xchan_hash WHERE channel_guid like '%s' AND (channel_pageflags & %d ) = 0 LIMIT 1",
- dbesc($guid . '%'),
- intval(PAGE_REMOVED)
+ $r = q("SELECT * FROM channel left join xchan on channel_hash = xchan_hash WHERE channel_guid like '%s' AND channel_removed = 0 LIMIT 1",
+ dbesc($guid . '%')
);
if(! $r)
http_status_exit(500);