1
0
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:
Ruben Calvo
2024-11-28 22:19:04 +01:00
parent 6d9a8ae8af
commit a8399c1431
4 changed files with 98 additions and 51 deletions

View File

@@ -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 }