diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-07-22 16:24:40 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-07-09 09:21:51 +0200 |
commit | 487fea8cfffe872e888ebcc3e1f5538b72bcaec1 (patch) | |
tree | 844be698767bbc2ad4aedc8beb3295658b61af55 /phpBB/phpbb/console/command/thumbnail/delete.php | |
parent | 54be6b1f622cf394f3cb2c7eb5f2c27072018baa (diff) | |
download | forums-487fea8cfffe872e888ebcc3e1f5538b72bcaec1.tar forums-487fea8cfffe872e888ebcc3e1f5538b72bcaec1.tar.gz forums-487fea8cfffe872e888ebcc3e1f5538b72bcaec1.tar.bz2 forums-487fea8cfffe872e888ebcc3e1f5538b72bcaec1.tar.xz forums-487fea8cfffe872e888ebcc3e1f5538b72bcaec1.zip |
[ticket/12692] Move the language strings to cli.php
PHPBB3-12692
Diffstat (limited to 'phpBB/phpbb/console/command/thumbnail/delete.php')
-rw-r--r-- | phpBB/phpbb/console/command/thumbnail/delete.php | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/phpBB/phpbb/console/command/thumbnail/delete.php b/phpBB/phpbb/console/command/thumbnail/delete.php index 7c66011d5c..b60ea5238f 100644 --- a/phpBB/phpbb/console/command/thumbnail/delete.php +++ b/phpBB/phpbb/console/command/thumbnail/delete.php @@ -13,17 +13,15 @@ namespace phpbb\console\command\thumbnail; use Symfony\Component\Console\Input\InputInterface; -use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\OutputInterface; class delete extends \phpbb\console\command\command { - /** @var \phpbb\db\driver\driver_interface */ + /** + * @var \phpbb\db\driver\driver_interface + */ protected $db; - /** @var \phpbb\user */ - protected $user; - /** * phpBB root path * @var string @@ -33,16 +31,16 @@ class delete extends \phpbb\console\command\command /** * Constructor * - * @param \phpbb\db\driver\driver_interface $db Database connection * @param \phpbb\user $user The user object (used to get language information) + * @param \phpbb\db\driver\driver_interface $db Database connection * @param string $phpbb_root_path Root path */ - public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\user $user, $phpbb_root_path) + public function __construct(\phpbb\user $user, \phpbb\db\driver\driver_interface $db, $phpbb_root_path) { $this->db = $db; - $this->user = $user; $this->phpbb_root_path = $phpbb_root_path; - parent::__construct(); + + parent::__construct($user); } /** |