aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2014-01-09 16:18:17 +0100
committerzottel <github@zottel.net>2014-01-09 16:18:17 +0100
commitab81458768f5989779e2ae1e74bfc5ba2d0bac0c (patch)
tree6084e6cd58d1d5fe451de4e5fa010af562ff63ee /mod
parenta517a27d53cc3eb29c004279c73de84f764574aa (diff)
downloadvolse-hubzilla-ab81458768f5989779e2ae1e74bfc5ba2d0bac0c.tar.gz
volse-hubzilla-ab81458768f5989779e2ae1e74bfc5ba2d0bac0c.tar.bz2
volse-hubzilla-ab81458768f5989779e2ae1e74bfc5ba2d0bac0c.zip
took out some left-overs from the debugging phase
Diffstat (limited to 'mod')
-rw-r--r--mod/channel.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 27f1cbdc6..458783b18 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -138,17 +138,6 @@ function channel_content(&$a, $update = 0, $load = false) {
$r = q("SELECT parent AS item_id from item where mid = '%s' limit 1",
dbesc($mid)
);
-logger("update ");
- if ($r) {
- // make sure we don't show other people's posts from our matrix
- $parent = q("SELECT owner_xchan from item where id = %d",
- dbesc($r[0]['item_id'])
- );
-logger("update ");
-logger($parent);
- if ($parent['owner_xchan'] != $a->profile['channel_hash'])
- $r = array();
- }
} else {
$r = q("SELECT distinct parent AS `item_id` from item
left join abook on item.author_xchan = abook.abook_xchan
@@ -188,7 +177,6 @@ logger($parent);
$r = q("SELECT parent AS item_id from item where mid = '%s' limit 1",
dbesc($mid)
);
-logger("load ");
} else {
$r = q("SELECT distinct id AS item_id FROM item
left join abook on item.author_xchan = abook.abook_xchan