aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_download.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-03 17:50:29 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:51:19 +0100
commit73e6e5b77faadbb7676961bf38122d669de111db (patch)
treef35a54eacd94d3c947074fe5cd21b407ef997b24 /phpBB/includes/functions_download.php
parentd0adbe94d53cd5997e8ab66ec3788240669826ff (diff)
downloadforums-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/functions_download.php')
-rw-r--r--phpBB/includes/functions_download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php
index 6aabfdf641..916655e77c 100644
--- a/phpBB/includes/functions_download.php
+++ b/phpBB/includes/functions_download.php
@@ -123,7 +123,7 @@ function wrap_img_in_html($src, $title)
*/
function send_file_to_browser($attachment, $upload_dir, $category)
{
- global $user, $db, $config, $phpbb_root_path, $request;
+ global $user, $db, $phpbb_root_path, $request;
$filename = $phpbb_root_path . $upload_dir . '/' . $attachment['physical_filename'];