]> git.mxchange.org Git - friendica.git/commitdiff
Applied a change to the community query that was already done in another branch.
authorMichael Vogel <icarus@dabo.de>
Sun, 21 Dec 2014 09:55:15 +0000 (10:55 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 21 Dec 2014 09:55:15 +0000 (10:55 +0100)
mod/community.php

index 30eb6ebb036e2a6f585399aeaa3012f7778382a0..4d1e84cba90f2993747284b7f55250b715d04959 100644 (file)
@@ -129,7 +129,7 @@ function community_getitems($start, $itemspage) {
                AND `item`.`allow_cid` = ''  AND `item`.`allow_gid` = ''
                AND `item`.`deny_cid`  = '' AND `item`.`deny_gid`  = ''
                INNER JOIN `contact` ON `contact`.`id` = `thread`.`contact-id`
-               AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND (`contact`.`self` OR `contact`.`remote_self`)
+               AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `contact`.`self`
                WHERE `thread`.`visible` = 1 AND `thread`.`deleted` = 0 and `thread`.`moderated` = 0
                AND `thread`.`private` = 0 AND `thread`.`wall` = 1
                ORDER BY `thread`.`received` DESC LIMIT %d, %d ",