aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-21 08:54:57 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-09 09:53:05 +0200
commitd1030450f5f2ddca88f1ef17cc7b949541e64bd8 (patch)
tree484c31724cc9ad3031998ba5981f94db104e2142 /phpBB/config
parent16d5208d9aec0678b3295b0e14042991094197ba (diff)
downloadforums-d1030450f5f2ddca88f1ef17cc7b949541e64bd8.tar
forums-d1030450f5f2ddca88f1ef17cc7b949541e64bd8.tar.gz
forums-d1030450f5f2ddca88f1ef17cc7b949541e64bd8.tar.bz2
forums-d1030450f5f2ddca88f1ef17cc7b949541e64bd8.tar.xz
forums-d1030450f5f2ddca88f1ef17cc7b949541e64bd8.zip
[ticket/14168] Move function for attachment deletion into class
PHPBB3-14168
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/default/container/services_files.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml
index 82e2a2e08f..12ae3f79c6 100644
--- a/phpBB/config/default/container/services_files.yml
+++ b/phpBB/config/default/container/services_files.yml
@@ -14,6 +14,14 @@ services:
- @user
- %core.root_path%
+ attachment.delete:
+ class: phpbb\attachment\delete
+ scope: prototype
+ arguments:
+ - @config
+ - @dbal.conn
+ - @dispatcher
+
filesystem:
class: phpbb\filesystem\filesystem