[ticket/17135] Fix ACP jabber module

PHPBB-17135
This commit is contained in:
rxu 2025-01-06 22:31:58 +07:00
parent a447f957ba
commit 4dd08747e3
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -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())
{