diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-08-15 00:17:00 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-08-15 00:17:00 +0800 |
commit | 75a0a3e18b001454ab4844bc63d4052faf502138 (patch) | |
tree | 8b00cc06342c8b12c8d0e042e657d93e981733d7 | |
parent | 7dc3a90d1252137859a687e32313ea569dcf8796 (diff) |
Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only
-rw-r--r-- | lib/action.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/action.php b/lib/action.php index 092a0ec9a..1bdc4daea 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'); } |