summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-15 14:37:47 +0100
committerEvan Prodromou <evan@status.net>2009-11-15 14:37:47 +0100
commit9a1a83e8ebe5ad39838e6363f1537a1a5232b9cb (patch)
treec78227359e7e2d6dcc116d99cbf2b77e8a294d13
parent9f8eedd5a3549fe5a4e6baa864d7f4e007d6076f (diff)
Move some user-related stuff to useradminpanel from siteadminpanel
-rw-r--r--actions/siteadminpanel.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php
index e4deea962..1cf70362d 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?'));