mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17361] Use storage in commands create and delete thumbnail
PHPBB-17361
This commit is contained in:
@@ -284,20 +284,21 @@ services:
|
||||
console.command.thumbnail.delete:
|
||||
class: phpbb\console\command\thumbnail\delete
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@user'
|
||||
- '@dbal.conn'
|
||||
- '%core.root_path%'
|
||||
- '@language'
|
||||
- '@storage.attachment'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
console.command.thumbnail.generate:
|
||||
class: phpbb\console\command\thumbnail\generate
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@user'
|
||||
- '@dbal.conn'
|
||||
- '@cache'
|
||||
- '@language'
|
||||
- '@storage.attachment'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
@@ -307,6 +308,7 @@ services:
|
||||
class: phpbb\console\command\thumbnail\recreate
|
||||
arguments:
|
||||
- '@user'
|
||||
- '@language'
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
|
Reference in New Issue
Block a user