aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-21 18:52:22 -0700
committerzotlabs <mike@macgirvin.com>2017-08-21 18:52:22 -0700
commit33528c616ae976891df7a778ce9360ceb56571f4 (patch)
tree7110db724ae235b3a610eb5605186d87ac68c257 /Zotlabs/Module/Display.php
parent894f0156afdb605883af4c3419ead4aec09617da (diff)
downloadvolse-hubzilla-33528c616ae976891df7a778ce9360ceb56571f4.tar.gz
volse-hubzilla-33528c616ae976891df7a778ce9360ceb56571f4.tar.bz2
volse-hubzilla-33528c616ae976891df7a778ce9360ceb56571f4.zip
remove debugging
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r--Zotlabs/Module/Display.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 5e03f91a9..1077cbdb9 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -39,7 +39,7 @@ class Display extends \Zotlabs\Web\Controller {
$observer_is_owner = false;
$updateable = false;
-
+
if(local_channel() && (! $update)) {
$channel = \App::get_channel();
@@ -216,11 +216,11 @@ class Display extends \Zotlabs\Web\Controller {
if($r === null) {
// in case somebody turned off public access to sys channel content using permissions
- // make that content unsearchable by ensuring the owner_xchan can't match
+ // make that content unsearchable by ensuring the owner uid can't match
if(! perm_is_allowed($sysid,$observer_hash,'view_stream'))
$sysid = 0;
-dbg(1);
+
$r = q("SELECT item.id as item_id from item
WHERE mid = '%s'
@@ -234,7 +234,7 @@ dbg(1);
dbesc($target_item['parent_mid']),
intval($sysid)
);
-dbg(0);
+
}
}
}