From: Mikael Nordfeldth Date: Fri, 7 Mar 2014 19:57:33 +0000 (+0100) Subject: Site profile "community" should be invite-only by default X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a35bf227fb202f05a2c917c020b3ffd2c52445d3;p=quix0rs-gnu-social.git Site profile "community" should be invite-only by default Because if you have your own local/closed community, likely you don't want random newcomers that drop in, spam and leave dead accounts. The Admin can of course always override this by setting the config "inviteonly" to false either in the config.php or on the website. --- diff --git a/lib/siteprofile.php b/lib/siteprofile.php index ae32acdf76..ccbac76af1 100644 --- a/lib/siteprofile.php +++ b/lib/siteprofile.php @@ -191,6 +191,7 @@ class CommunitySite extends SiteProfileSettings 'site' => array_merge( $config['site'], array( 'private' => false, + 'inviteonly' => true, 'closed' => false ) ),