]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Verbage of a closed invite only site, it shouldnt ask you to register.
authorEric Helgeson <erichelgeson@gmail.com>
Fri, 12 Jun 2009 21:43:40 +0000 (16:43 -0500)
committerEric Helgeson <erichelgeson@gmail.com>
Fri, 12 Jun 2009 21:43:40 +0000 (16:43 -0500)
actions/public.php

index 27153f13159daf2c990ba7937cc697e0724ad27f..c04843383d887434b957f7cc8e2190c82806525a 100644 (file)
@@ -173,7 +173,7 @@ class PublicAction extends Action
         if (common_logged_in()) {
             $message .= _('Be the first to post!');
         }
-        else {
+        if (! (common_config('site','closed') || common_config('site','inviteonly'))) {
             $message .= _('Why not [register an account](%%action.register%%) and be the first to post!');
         }