mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
- removed db cache (might re-appear, but for now we do not see the need for it)
- all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -65,11 +65,10 @@ class acp_jabber
|
||||
{
|
||||
if (!$jabber->connect())
|
||||
{
|
||||
trigger_error('Could not connect to Jabber server' . adm_back_link($this->u_action));
|
||||
trigger_error($user->lang['ERR_JAB_CONNECT'] . adm_back_link($this->u_action));
|
||||
}
|
||||
|
||||
// First we'll try to authorise using this account, if that fails we'll
|
||||
// try to create it.
|
||||
// First we'll try to authorise using this account, if that fails we'll try to create it.
|
||||
if (!($result = $jabber->send_auth()))
|
||||
{
|
||||
if (($result = $jabber->account_registration($config['board_email'], $config['sitename'])) <> 2)
|
||||
@@ -95,12 +94,12 @@ class acp_jabber
|
||||
{
|
||||
if (!$jabber->connect())
|
||||
{
|
||||
trigger_error('Could not connect to Jabber server' . adm_back_link($this->u_action));
|
||||
trigger_error($user->lang['ERR_JAB_CONNECT'] . adm_back_link($this->u_action));
|
||||
}
|
||||
|
||||
if (!$jabber->send_auth())
|
||||
{
|
||||
trigger_error('Could not authorise on Jabber server' . adm_back_link($this->u_action));
|
||||
trigger_error($user->lang['ERR_JAB_AUTH'] . adm_back_link($this->u_action));
|
||||
}
|
||||
$jabber->send_presence(NULL, NULL, 'online');
|
||||
|
||||
|
Reference in New Issue
Block a user