diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-03 13:38:31 -0500 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-03 13:38:31 -0500 |
commit | e6fd387c94f858a7cc63b90b02ad2afb135b6aba (patch) | |
tree | 2c5fe7d08bc9b8b5c6d75b98df579ed2ed52893a /lib/action.php | |
parent | 023b9bb00f096a532218b6689c1f035051653c8e (diff) | |
parent | a82cd89a976d9c7893ce133dda7d78cf087cd473 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/action.php b/lib/action.php index 0918c6858..816086d20 100644 --- a/lib/action.php +++ b/lib/action.php @@ -420,13 +420,6 @@ class Action extends HTMLOutputter // lawsuit function showPrimaryNav() { $user = common_current_user(); - $connect = ''; - if (common_config('xmpp', 'enabled')) { - $connect = 'imsettings'; - } else if (common_config('sms', 'enabled')) { - $connect = 'smssettings'; - } - $this->elementStart('dl', array('id' => 'site_nav_global_primary')); $this->element('dt', null, _('Primary site navigation')); $this->elementStart('dd'); @@ -437,10 +430,8 @@ class Action extends HTMLOutputter // lawsuit _('Home'), _('Personal profile and friends timeline'), false, 'nav_home'); $this->menuItem(common_local_url('profilesettings'), _('Account'), _('Change your email, avatar, password, profile'), false, 'nav_account'); - if ($connect) { - $this->menuItem(common_local_url($connect), - _('Connect'), _('Connect to services'), false, 'nav_connect'); - } + $this->menuItem(common_local_url('oauthconnectionssettings'), + _('Connect'), _('Connect to services'), false, 'nav_connect'); if ($user->hasRight(Right::CONFIGURESITE)) { $this->menuItem(common_local_url('siteadminpanel'), _('Admin'), _('Change site configuration'), false, 'nav_admin'); |