From: Luke Fitzgerald Date: Tue, 20 Sep 2011 01:40:15 +0000 (+0100) Subject: Show IM configuration page if XMPP, IRC or MSN plugins are enabled X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c99e469c5ea0c34d39e9738a79637d88058d9613;p=quix0rs-gnu-social.git Show IM configuration page if XMPP, IRC or MSN plugins are enabled --- 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'),