From 003f8b514bc1345b95859ced087f90fdf87b3b7a Mon Sep 17 00:00:00 2001 From: Fyorl Date: Tue, 14 Aug 2012 12:49:56 +0100 Subject: [feature/attach-dl] Renamed to phpbb_download_handle_forum_auth PHPBB3-11042 --- phpBB/includes/functions_download.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/functions_download.php') diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php index ac5e5ddd7e..ed2f598429 100644 --- a/phpBB/includes/functions_download.php +++ b/phpBB/includes/functions_download.php @@ -615,7 +615,7 @@ function phpbb_increment_downloads($db, $ids) } /** -* Checks that the user has permission to download attachments from the forum +* Handles authentication when downloading attachments from a post or topic * * @param dbal $db The database object * @param phpbb_auth $auth The authentication object @@ -623,7 +623,7 @@ function phpbb_increment_downloads($db, $ids) * * @return null */ -function phpbb_download_check_forum_auth($db, $auth, $topic_id) +function phpbb_download_handle_forum_auth($db, $auth, $topic_id) { $sql = 'SELECT t.forum_id, f.forum_password, f.parent_id FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f -- cgit v1.2.1