1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12692] Add a console command to manage the thumbnails

PHPBB3-12692
This commit is contained in:
Tristan Darricau
2014-06-12 14:20:58 +02:00
committed by Tristan Darricau
parent 46e6a4e61f
commit 98ab5478e6
5 changed files with 361 additions and 0 deletions

View File

@@ -156,3 +156,30 @@ services:
- @text_reparser_collection
tags:
- { name: console.command }
console.command.thumbnail.generate:
class: phpbb\console\command\thumbnail\generate
arguments:
- @dbal.conn
- @user
- @cache
- %core.root_path%
- %core.php_ext%
tags:
- { name: console.command }
console.command.thumbnail.recreate:
class: phpbb\console\command\thumbnail\recreate
arguments:
- @user
tags:
- { name: console.command }
console.command.thumbnail.delete:
class: phpbb\console\command\thumbnail\delete
arguments:
- @dbal.conn
- @user
- %core.root_path%
tags:
- { name: console.command }