diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/settingsaction.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php index cbdfcf10c..705ccf3eb 100644 --- a/lib/settingsaction.php +++ b/lib/settingsaction.php @@ -102,6 +102,10 @@ class SettingsAction extends Action { $action = $this->trimmed('action'); common_element_start('ul', array('id' => 'nav_views')); foreach ($menu as $menuaction => $menudesc) { + if ($menuaction == 'imsettings' && + !common_config('xmpp', 'enabled')) { + continue; + } common_menu_item(common_local_url($menuaction), $menudesc[0], $menudesc[1], |