From 33528c616ae976891df7a778ce9360ceb56571f4 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 21 Aug 2017 18:52:22 -0700 Subject: remove debugging --- Zotlabs/Module/Display.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Zotlabs') 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); + } } } -- cgit v1.2.3