aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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);