]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed OpenID appearing in primary nav when OpenID is enabled but not OpenID-only
authorJeffery To <jeffery.to@gmail.com>
Fri, 14 Aug 2009 16:17:00 +0000 (00:17 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 14 Aug 2009 16:17:00 +0000 (00:17 +0800)
lib/action.php

index 092a0ec9a8ea7d43bbaf0764cfedb35ba6d13da2..1bdc4daea7cd73eef4ef56ca781eb3d802d9947b 100644 (file)
@@ -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');
                 }