From 9a1a83e8ebe5ad39838e6363f1537a1a5232b9cb Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 15 Nov 2009 14:37:47 +0100 Subject: [PATCH] Move some user-related stuff to useradminpanel from siteadminpanel --- actions/siteadminpanel.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php index e4deea9620..1cf70362d7 100644 --- a/actions/siteadminpanel.php +++ b/actions/siteadminpanel.php @@ -92,7 +92,6 @@ class SiteadminpanelAction extends AdminPanelAction { static $settings = array('name', 'broughtby', 'broughtbyurl', 'email', 'timezone', 'language'); - static $booleans = array('closed', 'inviteonly', 'private'); $values = array(); @@ -244,20 +243,6 @@ class SiteAdminPanelForm extends Form $this->unli(); $this->li(); - $this->out->checkbox('closed', _('Closed'), - (bool) $this->value('closed'), - _('Is registration on this site prohibited?')); - - $this->unli(); - $this->li(); - - $this->out->checkbox('inviteonly', _('Invite-only'), - (bool) $this->value('inviteonly'), - _('Is registration on this site only open to invited users?')); - - $this->unli(); - $this->li(); - $this->out->checkbox('private', _('Private'), (bool) $this->value('private'), _('Prohibit anonymous users (not logged in) from viewing site?')); -- 2.39.5