summaryrefslogtreecommitdiff
path: root/actions/noticesearch.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-21 16:45:42 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-21 16:45:42 -0400
commit59beff6b46fb7693812558eaf728ca3709e4b066 (patch)
tree3a178e7e1a68ce1390d4e6178000f744b38e68b6 /actions/noticesearch.php
parentbacef32aaca791ec5e25bd951094baec0b41df28 (diff)
Revert "Added configuration option to only allow OpenID logins."
This reverts commit 14b46e2183f10359cc53d597913a878f53e23719. This functionality will need to be rewritten to work with the new OpenIDPlugin. Conflicts: index.php lib/logingroupnav.php
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r--actions/noticesearch.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php
index 90b3309cf..49b473d9e 100644
--- a/actions/noticesearch.php
+++ b/actions/noticesearch.php
@@ -121,9 +121,7 @@ class NoticesearchAction extends SearchAction
$message = sprintf(_('Be the first to [post on this topic](%%%%action.newnotice%%%%?status_textarea=%s)!'), urlencode($q));
}
else {
- $message = sprintf(_('Why not [register an account](%%%%action.%s%%%%) and be the first to [post on this topic](%%%%action.newnotice%%%%?status_textarea=%s)!'),
- (!common_config('site','openidonly')) ? 'register' : 'openidlogin',
- urlencode($q));
+ $message = sprintf(_('Why not [register an account](%%%%action.register%%%%) and be the first to [post on this topic](%%%%action.newnotice%%%%?status_textarea=%s)!'), urlencode($q));
}
$this->elementStart('div', 'guide');