summaryrefslogtreecommitdiff
path: root/actions/public.php
diff options
context:
space:
mode:
authorEric Helgeson <erichelgeson@gmail.com>2009-06-12 16:43:40 -0500
committerEric Helgeson <erichelgeson@gmail.com>2009-06-12 16:43:40 -0500
commitacff6d4bfd05ffba5f0819f2dad56af40c899e76 (patch)
treefbe65c380b970b5630a0a125b98a795aef5f49aa /actions/public.php
parent4c61f98cd027df2ed45ed250840405bebc232e1a (diff)
Verbage of a closed invite only site, it shouldnt ask you to register.
Diffstat (limited to 'actions/public.php')
-rw-r--r--actions/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index 27153f131..c04843383 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -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!');
}