aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-10-11 16:19:36 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-10-11 16:19:36 +0100
commitb84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde (patch)
tree217c05f30aefba4663b4750f69a59754bf7119ae
parentd46fd7917f248c105ca44d2d15878d79b358fdfd (diff)
downloadvolse-hubzilla-b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde.tar.gz
volse-hubzilla-b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde.tar.bz2
volse-hubzilla-b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde.zip
FFS, another oops
-rw-r--r--mod/webpages.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index f1be648ff..a5cfd00e6 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -35,8 +35,6 @@ function webpages_content(&$a) {
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
$perms = get_all_perms($owner,$ob_hash);
- if ($which == 'sys' && is_site_admin())
- $perms['write_pages'] = 1;
if(! $perms['write_pages']) {
notice( t('Permission denied.') . EOL);