diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-10-12 11:34:11 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-10-12 11:34:11 +0200 |
commit | 49312f05f88ca58346cbb00c2f03f01fd2a3d56d (patch) | |
tree | 1db2077dc34caf17f580771bf8967403b6a69660 /phpBB/includes/functions_posting.php | |
parent | a0167ad41037d7fe9214ca36c4c7097177361a6b (diff) | |
download | forums-49312f05f88ca58346cbb00c2f03f01fd2a3d56d.tar forums-49312f05f88ca58346cbb00c2f03f01fd2a3d56d.tar.gz forums-49312f05f88ca58346cbb00c2f03f01fd2a3d56d.tar.bz2 forums-49312f05f88ca58346cbb00c2f03f01fd2a3d56d.tar.xz forums-49312f05f88ca58346cbb00c2f03f01fd2a3d56d.zip |
[ticket/14168] Use attachment manager instead of separate classes
PHPBB3-14168
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index c39b9470a3..297ac80170 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -406,10 +406,10 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage { global $phpbb_container; - /** @var \phpbb\attachment\upload $attachment_upload */ - $attachment_upload = $phpbb_container->get('attachment.upload'); - $file = $attachment_upload->upload($form_name, $forum_id, $local, $local_storage, $is_message, $local_filedata); - unset($attachment_upload); + /** @var \phpbb\attachment\manager $attachment_manager */ + $attachment_manager = $phpbb_container->get('attachment.manager'); + $file = $attachment_manager->upload($form_name, $forum_id, $local, $local_storage, $is_message, $local_filedata); + unset($attachment_manager); return $file; } |