]> git.mxchange.org Git - friendica.git/commitdiff
forum cleanup
authorfriendica <info@friendica.com>
Sat, 19 Nov 2011 11:13:46 +0000 (03:13 -0800)
committerfriendica <info@friendica.com>
Sat, 19 Nov 2011 11:13:46 +0000 (03:13 -0800)
include/items.php

index caf4973457a7a22e83c46428ee40bb5caffbc743..8ea43efeb281801230341433d6299e2601f8b67c 100644 (file)
@@ -927,10 +927,7 @@ function tgroup_deliver($uid,$item_id) {
        if(! count($u))
                return;
 
-       // We will only forward public tgroup posts, as this opens a second delivery chain
-       // and privacy can only be controlled by the first chain.
-
-       $i = q("select * from item where id = %d and uid = %d and private = 0 limit 1",
+       $i = q("select * from item where id = %d and uid = %d limit 1",
                intval($item_id),
                intval($uid)
        );
@@ -961,7 +958,7 @@ function tgroup_deliver($uid,$item_id) {
        if(! $deliver_to_tgroup)
                return;
 
-       // now change this post to a forum head message and deliver to all the tgroup members
+       // now change this copy of the post to a forum head message and deliver to all the tgroup members
 
 
        q("update item set wall = 1, origin = 1, forum_mode = 1 where id = %d limit 1",