aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-19 03:13:46 -0800
committerfriendica <info@friendica.com>2011-11-19 03:13:46 -0800
commit191a9b048f3afa28b08a2e3cd2b277fc84956876 (patch)
tree39097013ae27018507a7e75c58ffe1df6a431c19
parent4f4a873da80c01e14007303a46bd8d98c7eaa8c6 (diff)
downloadvolse-hubzilla-191a9b048f3afa28b08a2e3cd2b277fc84956876.tar.gz
volse-hubzilla-191a9b048f3afa28b08a2e3cd2b277fc84956876.tar.bz2
volse-hubzilla-191a9b048f3afa28b08a2e3cd2b277fc84956876.zip
forum cleanup
-rw-r--r--include/items.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php
index caf497345..8ea43efeb 100644
--- a/include/items.php
+++ b/include/items.php
@@ -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",