diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-10-11 16:19:36 +0100 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-10-11 16:19:36 +0100 |
commit | b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde (patch) | |
tree | 217c05f30aefba4663b4750f69a59754bf7119ae /mod/webpages.php | |
parent | d46fd7917f248c105ca44d2d15878d79b358fdfd (diff) | |
download | volse-hubzilla-b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde.tar.gz volse-hubzilla-b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde.tar.bz2 volse-hubzilla-b84b2d5aa50a58e0ca85d56e02a83bdfbc3d9cde.zip |
FFS, another oops
Diffstat (limited to 'mod/webpages.php')
-rw-r--r-- | mod/webpages.php | 2 |
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); |