aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-10-09 09:45:28 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-09 10:20:30 +0200
commitc78dbd2eea2dae14b076d8d800474c8715982277 (patch)
tree22a2c0f8666e5dbe7fad164aeb352d210c44c31c /phpBB/config
parent22b36d9d0e50fdc820912cca0164fccc7b5785a1 (diff)
downloadforums-c78dbd2eea2dae14b076d8d800474c8715982277.tar
forums-c78dbd2eea2dae14b076d8d800474c8715982277.tar.gz
forums-c78dbd2eea2dae14b076d8d800474c8715982277.tar.bz2
forums-c78dbd2eea2dae14b076d8d800474c8715982277.tar.xz
forums-c78dbd2eea2dae14b076d8d800474c8715982277.zip
[ticket/14168] Add attachment manager service
PHPBB3-14168
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/default/container/services_attachment.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_attachment.yml b/phpBB/config/default/container/services_attachment.yml
index 8e3fbe8f35..5506b2ec90 100644
--- a/phpBB/config/default/container/services_attachment.yml
+++ b/phpBB/config/default/container/services_attachment.yml
@@ -10,6 +10,14 @@ services:
- @attachment.resync
- %core.root_path%
+ attachment.manager:
+ class: phpbb\attachment\manager
+ scope: prototype
+ arguments:
+ - @attachment.delete
+ - @attachment.resync
+ - @attachment.upload
+
attachment.resync:
class: phpbb\attachment\resync
scope: prototype