From: Eric Helgeson Date: Fri, 12 Jun 2009 21:43:40 +0000 (-0500) Subject: Verbage of a closed invite only site, it shouldnt ask you to register. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=acff6d4bfd05ffba5f0819f2dad56af40c899e76;p=quix0rs-gnu-social.git Verbage of a closed invite only site, it shouldnt ask you to register. --- diff --git a/actions/public.php b/actions/public.php index 27153f1315..c04843383d 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!'); }