summaryrefslogtreecommitdiff
path: root/lib/logingroupnav.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-16 19:50:37 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-16 19:50:37 -0400
commit136a69a387719d560f97b6f8ee73d1224b2bac8c (patch)
treee9c0c02d89119a9d8c35b2d0c2485d8d888a65f4 /lib/logingroupnav.php
parent46c77b83b1b10663ac80f6e1df604d529bb31dd4 (diff)
parent75a0a3e18b001454ab4844bc63d4052faf502138 (diff)
Merge commit 'jeff-themovie/0.8.x-openid-enabled' into 0.8.x
Diffstat (limited to 'lib/logingroupnav.php')
-rw-r--r--lib/logingroupnav.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/logingroupnav.php b/lib/logingroupnav.php
index 919fd3db9..2fb1828d6 100644
--- a/lib/logingroupnav.php
+++ b/lib/logingroupnav.php
@@ -80,8 +80,10 @@ class LoginGroupNav extends Widget
_('Sign up for a new account'));
}
}
- $menu['openidlogin'] = array(_('OpenID'),
- _('Login or register with OpenID'));
+ if (common_config('openid', 'enabled')) {
+ $menu['openidlogin'] = array(_('OpenID'),
+ _('Login or register with OpenID'));
+ }
$action_name = $this->action->trimmed('action');
$this->action->elementStart('ul', array('class' => 'nav'));