summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php3
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');
}