diff options
author | friendica <info@friendica.com> | 2012-03-21 14:56:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-21 14:56:06 -0700 |
commit | c1d6ece98e9c0793432d1046033e0b8cb93e63bb (patch) | |
tree | 27408a77195762daeccca60adb07215302c8881f /mod | |
parent | 89028f2e2ff50aeb6747eecd6c2c8b5ed213b077 (diff) | |
download | volse-hubzilla-c1d6ece98e9c0793432d1046033e0b8cb93e63bb.tar.gz volse-hubzilla-c1d6ece98e9c0793432d1046033e0b8cb93e63bb.tar.bz2 volse-hubzilla-c1d6ece98e9c0793432d1046033e0b8cb93e63bb.zip |
revert permissions relaxation on community
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/community.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/community.php b/mod/community.php index cf459617e..f8cc3305b 100755 --- a/mod/community.php +++ b/mod/community.php @@ -50,7 +50,7 @@ function community_content(&$a, $update = 0) { WHERE `item`.`visible` = 1 AND `item`.`deleted` = 0 and `item`.`moderated` = 0 AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' - AND `item`.`private` = 0 AND `user`.`hidewall` = 0 + AND `item`.`private` = 0 AND `item`.`wall` = 1 AND `user`.`hidewall` = 0 AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 " ); @@ -72,7 +72,7 @@ function community_content(&$a, $update = 0) { WHERE `item`.`visible` = 1 AND `item`.`deleted` = 0 and `item`.`moderated` = 0 AND `item`.`allow_cid` = '' AND `item`.`allow_gid` = '' AND `item`.`deny_cid` = '' AND `item`.`deny_gid` = '' - AND `item`.`private` = 0 AND `user`.`hidewall` = 0 + AND `item`.`private` = 0 AND `item`.`wall` = 1 AND `user`.`hidewall` = 0 AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 ORDER BY `received` DESC LIMIT %d, %d ", intval($a->pager['start']), |