Skip to content

Commit fbceade

Browse files
committed
Updated to the latest 3.1.0-RC2-dev
1 parent 35c68cf commit fbceade

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

console/command/cache/get.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@
1818

1919
class get extends \phpbb\console\command\command
2020
{
21-
/** @var \phpbb\cache\driver\driver_interface */
21+
/**
22+
* @var \phpbb\cache\driver\driver_interface
23+
*/
2224
protected $cache;
23-
24-
/** @var \phpbb\user */
25-
protected $user;
2625
/**
2726
* Constructor
2827
*
@@ -32,11 +31,10 @@ class get extends \phpbb\console\command\command
3231
public function __construct(\phpbb\user $user, \phpbb\cache\driver\driver_interface $cache)
3332
{
3433
$this->cache = $cache;
35-
$this->user = $user;
3634

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

39-
parent::__construct();
37+
parent::__construct($user);
4038
}
4139

4240
/**

console/command/container/debug.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ class debug extends \phpbb\console\command\command
5050
*/
5151
protected $php_ext;
5252

53-
/**
54-
* @var \phpbb\user
55-
*/
56-
protected $user;
57-
5853
/**
5954
* Constructor
6055
*
@@ -68,11 +63,10 @@ function __construct(\phpbb\user $user, \phpbb\config_php_file $config_php_file,
6863
$this->config_php_file = $config_php_file;
6964
$this->phpbb_root_path = $phpbb_root_path;
7065
$this->php_ext = $php_ext;
71-
$this->user = $user;
7266

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

75-
parent::__construct();
69+
parent::__construct($user);
7670
}
7771

7872
/**

console/command/router/debug.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ class debug extends \phpbb\console\command\command
3131
*/
3232
protected $controller_provider;
3333

34-
/**
35-
* @var \phpbb\user
36-
*/
37-
protected $user;
38-
3934
/**
4035
* Constructor
4136
*
@@ -44,12 +39,11 @@ class debug extends \phpbb\console\command\command
4439
*/
4540
function __construct(\phpbb\user $user, \phpbb\controller\provider $controller_provider)
4641
{
47-
$this->user = $user;
4842
$this->controller_provider = $controller_provider;
4943

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

52-
parent::__construct();
46+
parent::__construct($user);
5347
}
5448

5549
/**

0 commit comments

Comments
 (0)