From c99e469c5ea0c34d39e9738a79637d88058d9613 Mon Sep 17 00:00:00 2001 From: Luke Fitzgerald Date: Tue, 20 Sep 2011 02:40:15 +0100 Subject: [PATCH] Show IM configuration page if XMPP, IRC or MSN plugins are enabled --- lib/settingsnav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/settingsnav.php b/lib/settingsnav.php index f403d4bdcd..96b968039c 100644 --- a/lib/settingsnav.php +++ b/lib/settingsnav.php @@ -121,7 +121,7 @@ class SettingsNav extends Menu Event::handle('EndAccountSettingsNav', array(&$this->action)); - if (common_config('xmpp', 'enabled')) { + if (class_exists('ImPlugin') || class_exists('IrcPlugin') || class_exists('MsnPlugin')) { $this->action->menuItem(common_local_url('imsettings'), // TRANS: Menu item in settings navigation panel. _m('MENU','IM'), -- 2.39.5