aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-09-15 03:55:49 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-09-15 03:55:49 +0100
commitb6612693b6a9a88c23112e604eee6e91c2778a58 (patch)
treec3ef6bf0c7bd65fcd8d0e441f6e6c2b2925605ef /include
parente3783dfdd41e17147f63e9b72f12f66b92a37262 (diff)
downloadvolse-hubzilla-b6612693b6a9a88c23112e604eee6e91c2778a58.tar.gz
volse-hubzilla-b6612693b6a9a88c23112e604eee6e91c2778a58.tar.bz2
volse-hubzilla-b6612693b6a9a88c23112e604eee6e91c2778a58.zip
Bugger, revert - not only a dodgy cut and paste between terminals, but
also pushed to the wrong repo
Diffstat (limited to 'include')
-rw-r--r--include/security.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/security.php b/include/security.php
index 98d997288..0f2edc708 100644
--- a/include/security.php
+++ b/include/security.php
@@ -82,20 +82,6 @@ function change_channel($change_channel) {
intval(PAGE_REMOVED)
);
- // It's not there. Is this an administrator, and is this the sys channel?
- if (is_developer()) {
- if (! $r) {
- if (is_site_admin()) {
- $r = q("select channel.*, xchan.* from channel left join xchan on channel.channel_hash = xchan.xchan_hash where channel_id = %d and ( channel_pageflags & %d) a$
- intval($change_channel),
- intval(PAGE_SYSTEM),
- intval(PAGE_REMOVED)
- );
- }
- }
- }
-
-
if($r) {
$hash = $r[0]['channel_hash'];
$_SESSION['uid'] = intval($r[0]['channel_id']);