aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-21 10:56:32 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-09 10:15:38 +0200
commit40117c77304468120245ae05b6b99f1d2a68c9f6 (patch)
tree7143477ec1772e8c849079264249d81ae5dde3fd /phpBB/config/default
parentebfdd69525cc10446fba6c6e8600b44e1124a64d (diff)
downloadforums-40117c77304468120245ae05b6b99f1d2a68c9f6.tar
forums-40117c77304468120245ae05b6b99f1d2a68c9f6.tar.gz
forums-40117c77304468120245ae05b6b99f1d2a68c9f6.tar.bz2
forums-40117c77304468120245ae05b6b99f1d2a68c9f6.tar.xz
forums-40117c77304468120245ae05b6b99f1d2a68c9f6.zip
[ticket/14168] Add attachment resync class
PHPBB3-14168
Diffstat (limited to 'phpBB/config/default')
-rw-r--r--phpBB/config/default/container/services_files.yml23
1 files changed, 15 insertions, 8 deletions
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml
index 12ae3f79c6..d46e3d0401 100644
--- a/phpBB/config/default/container/services_files.yml
+++ b/phpBB/config/default/container/services_files.yml
@@ -1,4 +1,19 @@
services:
+ attachment.delete:
+ class: phpbb\attachment\delete
+ scope: prototype
+ arguments:
+ - @config
+ - @dbal.conn
+ - @dispatcher
+ - @attachment.resync
+
+ attachment.resync:
+ class: phpbb\attachment\resync
+ scope: prototype
+ arguments:
+ - @dbal.conn
+
attachment.upload:
class: phpbb\attachment\upload
scope: prototype
@@ -14,14 +29,6 @@ services:
- @user
- %core.root_path%
- attachment.delete:
- class: phpbb\attachment\delete
- scope: prototype
- arguments:
- - @config
- - @dbal.conn
- - @dispatcher
-
filesystem:
class: phpbb\filesystem\filesystem