aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-26 17:05:45 -0700
committerfriendica <info@friendica.com>2014-03-26 17:05:45 -0700
commit9a3a2819c11cccdbce72adbe611f45e559e36655 (patch)
tree3b7c98e4ab81b2eed8c4e017d771c17590568993 /include
parent79f5fd8e2a4959b78cf8be6312962849e14e9d85 (diff)
downloadvolse-hubzilla-9a3a2819c11cccdbce72adbe611f45e559e36655.tar.gz
volse-hubzilla-9a3a2819c11cccdbce72adbe611f45e559e36655.tar.bz2
volse-hubzilla-9a3a2819c11cccdbce72adbe611f45e559e36655.zip
add admin/channels
Diffstat (limited to 'include')
-rw-r--r--include/security.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/security.php b/include/security.php
index 6b20e2904..d974efb8f 100644
--- a/include/security.php
+++ b/include/security.php
@@ -346,9 +346,9 @@ function stream_perms_api_uids($perms_min = PERMS_SITE) {
$ret = array();
if(local_user())
$ret[] = local_user();
- $r = q("select channel_id from channel where channel_r_stream > 0 and channel_r_stream <= %d and not (channel_pageflags & %d) ",
+ $r = q("select channel_id from channel where channel_r_stream > 0 and channel_r_stream <= %d and not (channel_pageflags & %d)",
intval($perms_min),
- intval(PAGE_ADULT)
+ intval(PAGE_CENSORED)
);
if($r)
foreach($r as $rr)
@@ -373,7 +373,7 @@ function stream_perms_xchans($perms_min = PERMS_SITE) {
$r = q("select channel_hash from channel where channel_r_stream > 0 and channel_r_stream <= %d and not (channel_pageflags & %d)",
intval($perms_min),
- intval(PAGE_ADULT)
+ intval(PAGE_CENSORED)
);
if($r)
foreach($r as $rr)