aboutsummaryrefslogtreecommitdiffstats
path: root/mod/pubsub.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-07 16:15:54 -0700
committerFriendika <info@friendika.com>2011-08-07 16:15:54 -0700
commit48ffa880f099b19052f18e399bf6af50780a24b0 (patch)
tree48f5e9b52b425af937b5ae2511aaaf6968e0b666 /mod/pubsub.php
parentaa3a14ec36db5f9df9d0ec27c607a994451fc845 (diff)
downloadvolse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.tar.gz
volse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.tar.bz2
volse-hubzilla-48ffa880f099b19052f18e399bf6af50780a24b0.zip
cleanup
Diffstat (limited to 'mod/pubsub.php')
-rw-r--r--mod/pubsub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/pubsub.php b/mod/pubsub.php
index edb0a7fe1..d6e3d378f 100644
--- a/mod/pubsub.php
+++ b/mod/pubsub.php
@@ -111,8 +111,8 @@ function pubsub_post(&$a) {
AND ( `rel` = %d OR `rel` = %d ) AND `blocked` = 0 AND `readonly` = 0 LIMIT 1",
intval($contact_id),
intval($importer['uid']),
- intval(REL_FAN),
- intval(REL_BUD)
+ intval(CONTACT_IS_SHARING),
+ intval(CONTACT_IS_FRIEND)
);
if(! count($r)) {