mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17135] Fix ACP jabber module
PHPBB-17135
This commit is contained in:
parent
a447f957ba
commit
4dd08747e3
1 changed files with 2 additions and 2 deletions
|
@ -32,6 +32,8 @@ class acp_jabber
|
|||
global $db, $user, $template, $phpbb_log, $request;
|
||||
global $config, $phpbb_container, $phpbb_root_path, $phpEx;
|
||||
|
||||
$jabber = $phpbb_container->get('messenger.method.jabber');
|
||||
|
||||
$user->add_lang('acp/board');
|
||||
|
||||
$submit = (isset($_POST['submit'])) ? true : false;
|
||||
|
@ -68,8 +70,6 @@ class acp_jabber
|
|||
$message = $user->lang['JAB_SETTINGS_CHANGED'];
|
||||
$log = 'JAB_SETTINGS_CHANGED';
|
||||
|
||||
$jabber = $phpbb_container->get('messenger.method.jabber');
|
||||
|
||||
// Is this feature enabled? Then try to establish a connection
|
||||
if ($jabber->is_enabled())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue