From 507e10fa451cd7302dbcc9b7adadff26eb8c5d5e Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 8 Jun 2015 16:57:30 -0700 Subject: remove debugging --- mod/page.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'mod') diff --git a/mod/page.php b/mod/page.php index 648bd81fd..3cb63a2bc 100644 --- a/mod/page.php +++ b/mod/page.php @@ -61,8 +61,6 @@ function page_init(&$a) { require_once('include/security.php'); $sql_options = item_permissions_sql($u[0]['channel_id']); -dbg(1); - $r = q("select item.* from item left join item_id on item.id = item_id.iid where item.uid = %d and sid = '%s' and (( service = 'WEBPAGE' and item_restrict = %d ) or ( service = 'PDL' and item_restrict = %d )) $sql_options $revision limit 1", @@ -83,7 +81,6 @@ dbg(1); intval(ITEM_WEBPAGE) ); -dbg(0); if($x) { // Yes, it's there. You just aren't allowed to see it. notice( t('Permission denied.') . EOL); -- cgit v1.2.3