aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-10-05 14:09:13 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-09 10:20:27 +0200
commit11475283eb85d2dd029a57d0917b8cd7194d0886 (patch)
tree10d46d1d2a8005c8fe707da55f9c18fa91de32f0 /phpBB/config/default/container
parent1f1e708815369cc25f1c59c5ed69a49f80b64318 (diff)
downloadforums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar.gz
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar.bz2
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.tar.xz
forums-11475283eb85d2dd029a57d0917b8cd7194d0886.zip
[ticket/14168] Move attachment service definitions to services_attachment
PHPBB3-14168
Diffstat (limited to 'phpBB/config/default/container')
-rw-r--r--phpBB/config/default/container/services_attachment.yml32
-rw-r--r--phpBB/config/default/container/services_files.yml32
2 files changed, 32 insertions, 32 deletions
diff --git a/phpBB/config/default/container/services_attachment.yml b/phpBB/config/default/container/services_attachment.yml
new file mode 100644
index 0000000000..8e3fbe8f35
--- /dev/null
+++ b/phpBB/config/default/container/services_attachment.yml
@@ -0,0 +1,32 @@
+services:
+ attachment.delete:
+ class: phpbb\attachment\delete
+ scope: prototype
+ arguments:
+ - @config
+ - @dbal.conn
+ - @dispatcher
+ - @filesystem
+ - @attachment.resync
+ - %core.root_path%
+
+ attachment.resync:
+ class: phpbb\attachment\resync
+ scope: prototype
+ arguments:
+ - @dbal.conn
+
+ attachment.upload:
+ class: phpbb\attachment\upload
+ scope: prototype
+ arguments:
+ - @auth
+ - @cache
+ - @config
+ - @files.upload
+ - @language
+ - @mimetype.guesser
+ - @dispatcher
+ - @plupload
+ - @user
+ - %core.root_path%
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml
index b94b48606d..cfdade37df 100644
--- a/phpBB/config/default/container/services_files.yml
+++ b/phpBB/config/default/container/services_files.yml
@@ -1,36 +1,4 @@
services:
- attachment.delete:
- class: phpbb\attachment\delete
- scope: prototype
- arguments:
- - @config
- - @dbal.conn
- - @dispatcher
- - @filesystem
- - @attachment.resync
- - %core.root_path%
-
- attachment.resync:
- class: phpbb\attachment\resync
- scope: prototype
- arguments:
- - @dbal.conn
-
- attachment.upload:
- class: phpbb\attachment\upload
- scope: prototype
- arguments:
- - @auth
- - @cache
- - @config
- - @files.upload
- - @language
- - @mimetype.guesser
- - @dispatcher
- - @plupload
- - @user
- - %core.root_path%
-
filesystem:
class: phpbb\filesystem\filesystem