]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Move some user-related stuff to useradminpanel from siteadminpanel
authorEvan Prodromou <evan@status.net>
Sun, 15 Nov 2009 13:37:47 +0000 (14:37 +0100)
committerEvan Prodromou <evan@status.net>
Sun, 15 Nov 2009 13:37:47 +0000 (14:37 +0100)
actions/siteadminpanel.php

index e4deea962051b1acfb68df588dc5744aaa2712d6..1cf70362d72e59533ff76e3e19791e8fcd68cc82 100644 (file)
@@ -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?'));