1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 13:44:12 +02:00

[ticket/13454] Remove unused variables

This is the first part of the changes. More to come.

PHPBB3-13454
This commit is contained in:
Marc Alexander
2015-12-03 17:50:29 +01:00
parent d0adbe94d5
commit 73e6e5b77f
72 changed files with 85 additions and 144 deletions

View File

@@ -29,8 +29,8 @@ class acp_jabber
function main($id, $mode)
{
global $db, $user, $auth, $template, $phpbb_log, $request;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
global $db, $user, $template, $phpbb_log, $request;
global $config, $phpbb_root_path, $phpEx;
$user->add_lang('acp/board');
@@ -39,7 +39,6 @@ class acp_jabber
include($phpbb_root_path . 'includes/functions_jabber.' . $phpEx);
}
$action = $request->variable('action', '');
$submit = (isset($_POST['submit'])) ? true : false;
if ($mode != 'settings')
@@ -68,8 +67,6 @@ class acp_jabber
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
}
$error = array();
$message = $user->lang['JAB_SETTINGS_CHANGED'];
$log = 'JAB_SETTINGS_CHANGED';