From: Jeffery To Date: Fri, 14 Aug 2009 16:17:00 +0000 (+0800) Subject: Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=75a0a3e18b001454ab4844bc63d4052faf502138;p=quix0rs-gnu-social.git Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only --- diff --git a/lib/action.php b/lib/action.php index 092a0ec9a8..1bdc4daea7 100644 --- a/lib/action.php +++ b/lib/action.php @@ -443,8 +443,7 @@ class Action extends HTMLOutputter // lawsuit } $this->menuItem(common_local_url('login'), _('Login'), _('Login to the site'), false, 'nav_login'); - } - if (common_config('openid', 'enabled')) { + } else { $this->menuItem(common_local_url('openidlogin'), _('OpenID'), _('Login with OpenID'), false, 'nav_openid'); }