aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/thumbnail/generate.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-22 16:24:40 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-07-09 09:21:51 +0200
commit487fea8cfffe872e888ebcc3e1f5538b72bcaec1 (patch)
tree844be698767bbc2ad4aedc8beb3295658b61af55 /phpBB/phpbb/console/command/thumbnail/generate.php
parent54be6b1f622cf394f3cb2c7eb5f2c27072018baa (diff)
downloadforums-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/generate.php')
-rw-r--r--phpBB/phpbb/console/command/thumbnail/generate.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/phpBB/phpbb/console/command/thumbnail/generate.php b/phpBB/phpbb/console/command/thumbnail/generate.php
index c27d91d4d5..640d971b5d 100644
--- a/phpBB/phpbb/console/command/thumbnail/generate.php
+++ b/phpBB/phpbb/console/command/thumbnail/generate.php
@@ -17,13 +17,14 @@ use Symfony\Component\Console\Output\OutputInterface;
class generate extends \phpbb\console\command\command
{
- /** @var \phpbb\db\driver\driver_interface */
+ /**
+ * @var \phpbb\db\driver\driver_interface
+ */
protected $db;
- /** @var \phpbb\user */
- protected $user;
-
- /** @var \phpbb\cache\service */
+ /**
+ * @var \phpbb\cache\service
+ */
protected $cache;
/**
@@ -42,20 +43,20 @@ class generate 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 \phpbb\cache\service $cache The cache service
* @param string $phpbb_root_path Root path
* @param string $php_ext PHP extension
*/
- public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\user $user, \phpbb\cache\service $cache, $phpbb_root_path, $php_ext)
+ public function __construct(\phpbb\user $user, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, $phpbb_root_path, $php_ext)
{
$this->db = $db;
- $this->user = $user;
$this->cache = $cache;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
- parent::__construct();
+
+ parent::__construct($user);
}
/**