diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-12-03 18:19:02 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-06 13:52:11 +0100 |
| commit | f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9 (patch) | |
| tree | 74e7b2e89c84cfa3d16c18be10afd99fd6af245c /phpBB/includes/functions_messenger.php | |
| parent | 73e6e5b77faadbb7676961bf38122d669de111db (diff) | |
| download | forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.gz forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.bz2 forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.xz forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.zip | |
[ticket/13454] Remove unused variables
This is part 2 of the pr.
PHPBB3-13454
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
| -rw-r--r-- | phpBB/includes/functions_messenger.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 810f2c0584..a08b485e52 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -206,7 +206,7 @@ class messenger */ function template($template_file, $template_lang = '', $template_path = '') { - global $config, $phpbb_root_path, $phpEx, $user, $phpbb_extension_manager; + global $config, $phpbb_root_path, $user; $this->setup_template(); @@ -349,7 +349,7 @@ class messenger */ function error($type, $msg) { - global $user, $phpEx, $phpbb_root_path, $config, $request, $phpbb_log; + global $user, $config, $request, $phpbb_log; // Session doesn't exist, create it if (!isset($user->session_id) || $user->session_id === '') @@ -359,7 +359,6 @@ class messenger $calling_page = htmlspecialchars_decode($request->server('PHP_SELF')); - $message = ''; switch ($type) { case 'EMAIL': |
