diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-12-03 17:50:29 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-06 13:51:19 +0100 |
commit | 73e6e5b77faadbb7676961bf38122d669de111db (patch) | |
tree | f35a54eacd94d3c947074fe5cd21b407ef997b24 /phpBB/includes/mcp/mcp_warn.php | |
parent | d0adbe94d53cd5997e8ab66ec3788240669826ff (diff) | |
download | forums-73e6e5b77faadbb7676961bf38122d669de111db.tar forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.gz forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.bz2 forums-73e6e5b77faadbb7676961bf38122d669de111db.tar.xz forums-73e6e5b77faadbb7676961bf38122d669de111db.zip |
[ticket/13454] Remove unused variables
This is the first part of the changes. More to come.
PHPBB3-13454
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_warn.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php index d4c5486ed4..d91e3a8408 100644 --- a/phpBB/includes/mcp/mcp_warn.php +++ b/phpBB/includes/mcp/mcp_warn.php @@ -35,8 +35,7 @@ class mcp_warn function main($id, $mode) { - global $auth, $db, $user, $template, $request; - global $config, $phpbb_root_path, $phpEx; + global $request; $action = $request->variable('action', array('' => '')); @@ -78,8 +77,8 @@ class mcp_warn */ function mcp_warn_front_view() { - global $phpEx, $phpbb_root_path, $config; - global $template, $db, $user, $auth; + global $phpEx, $phpbb_root_path; + global $template, $db, $user; $template->assign_vars(array( 'U_FIND_USERNAME' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp&field=username&select_single=true'), @@ -132,7 +131,7 @@ class mcp_warn function mcp_warn_list_view($action) { global $phpEx, $phpbb_root_path, $config, $phpbb_container; - global $template, $db, $user, $auth, $request; + global $template, $user, $auth, $request; /* @var $pagination \phpbb\pagination */ $pagination = $phpbb_container->get('pagination'); |