diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-08-16 19:50:37 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-16 19:50:37 -0400 |
commit | 136a69a387719d560f97b6f8ee73d1224b2bac8c (patch) | |
tree | e9c0c02d89119a9d8c35b2d0c2485d8d888a65f4 /lib/accountsettingsaction.php | |
parent | 46c77b83b1b10663ac80f6e1df604d529bb31dd4 (diff) | |
parent | 75a0a3e18b001454ab4844bc63d4052faf502138 (diff) |
Merge commit 'jeff-themovie/0.8.x-openid-enabled' into 0.8.x
Diffstat (limited to 'lib/accountsettingsaction.php')
-rw-r--r-- | lib/accountsettingsaction.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/accountsettingsaction.php b/lib/accountsettingsaction.php index 4ab50abce..1a21d871e 100644 --- a/lib/accountsettingsaction.php +++ b/lib/accountsettingsaction.php @@ -126,6 +126,10 @@ class AccountSettingsNav extends Widget $this->action->elementStart('ul', array('class' => 'nav')); foreach ($menu as $menuaction => $menudesc) { + if ($menuaction == 'openidsettings' && + !common_config('openid', 'enabled')) { + continue; + } $this->action->menuItem(common_local_url($menuaction), $menudesc[0], $menudesc[1], |