forked from GNUsocial/gnu-social
Show IM configuration page if XMPP, IRC or MSN plugins are enabled
This commit is contained in:
parent
771c9ebc20
commit
c99e469c5e
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user