aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-08 16:57:30 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-08 16:57:30 -0700
commit507e10fa451cd7302dbcc9b7adadff26eb8c5d5e (patch)
treee735033bfef3d6810165138f54f69349ff483ace
parent39f0e6fe622b2080bede823d19b36c9961c64f1d (diff)
downloadvolse-hubzilla-507e10fa451cd7302dbcc9b7adadff26eb8c5d5e.tar.gz
volse-hubzilla-507e10fa451cd7302dbcc9b7adadff26eb8c5d5e.tar.bz2
volse-hubzilla-507e10fa451cd7302dbcc9b7adadff26eb8c5d5e.zip
remove debugging
-rw-r--r--mod/page.php3
1 files changed, 0 insertions, 3 deletions
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);