Skip to content

Commit

Permalink
Updated to the latest 3.1.0-RC2-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicofuma committed Jul 22, 2014
1 parent 35c68cf commit fbceade
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
10 changes: 4 additions & 6 deletions console/command/cache/get.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@

class get extends \phpbb\console\command\command
{
/** @var \phpbb\cache\driver\driver_interface */
/**
* @var \phpbb\cache\driver\driver_interface
*/
protected $cache;

/** @var \phpbb\user */
protected $user;
/**
* Constructor
*
Expand All @@ -32,11 +31,10 @@ class get extends \phpbb\console\command\command
public function __construct(\phpbb\user $user, \phpbb\cache\driver\driver_interface $cache)
{
$this->cache = $cache;
$this->user = $user;

$user->add_lang_ext('nicofuma/debugtools', 'cli');

parent::__construct();
parent::__construct($user);
}

/**
Expand Down
8 changes: 1 addition & 7 deletions console/command/container/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ class debug extends \phpbb\console\command\command
*/
protected $php_ext;

/**
* @var \phpbb\user
*/
protected $user;

/**
* Constructor
*
Expand All @@ -68,11 +63,10 @@ function __construct(\phpbb\user $user, \phpbb\config_php_file $config_php_file,
$this->config_php_file = $config_php_file;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
$this->user = $user;

$user->add_lang_ext('nicofuma/debugtools', 'cli');

parent::__construct();
parent::__construct($user);
}

/**
Expand Down
8 changes: 1 addition & 7 deletions console/command/router/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ class debug extends \phpbb\console\command\command
*/
protected $controller_provider;

/**
* @var \phpbb\user
*/
protected $user;

/**
* Constructor
*
Expand All @@ -44,12 +39,11 @@ class debug extends \phpbb\console\command\command
*/
function __construct(\phpbb\user $user, \phpbb\controller\provider $controller_provider)
{
$this->user = $user;
$this->controller_provider = $controller_provider;

$user->add_lang_ext('nicofuma/debugtools', 'cli');

parent::__construct();
parent::__construct($user);
}

/**
Expand Down

0 comments on commit fbceade

Please sign in to comment.