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

[ticket/12692] Move the language strings to cli.php

PHPBB3-12692
This commit is contained in:
Tristan Darricau
2014-07-22 16:24:40 +02:00
committed by Tristan Darricau
parent 54be6b1f62
commit 487fea8cff
6 changed files with 31 additions and 39 deletions

View File

@@ -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);
}
/**