diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-07-17 17:19:36 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-07-17 20:37:24 +0200 |
commit | 07ce29c081c8bbd24a5094d89346be33dda583c5 (patch) | |
tree | f2ad07531041bbc70a49ead9d3fbca4c3e0205d6 /phpBB/phpbb/console/command/extension | |
parent | 42477861a45935b10285a1434f4ffaf5b199c5c2 (diff) | |
download | forums-07ce29c081c8bbd24a5094d89346be33dda583c5.tar forums-07ce29c081c8bbd24a5094d89346be33dda583c5.tar.gz forums-07ce29c081c8bbd24a5094d89346be33dda583c5.tar.bz2 forums-07ce29c081c8bbd24a5094d89346be33dda583c5.tar.xz forums-07ce29c081c8bbd24a5094d89346be33dda583c5.zip |
[ticket/12656] Pass user object into all console commands.
PHPBB3-12656
Diffstat (limited to 'phpBB/phpbb/console/command/extension')
-rw-r--r-- | phpBB/phpbb/console/command/extension/command.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/extension/command.php b/phpBB/phpbb/console/command/extension/command.php index 21bb640504..364d954082 100644 --- a/phpBB/phpbb/console/command/extension/command.php +++ b/phpBB/phpbb/console/command/extension/command.php @@ -20,11 +20,11 @@ abstract class command extends \phpbb\console\command\command /** @var \phpbb\log\log */ protected $log; - public function __construct(\phpbb\extension\manager $manager, \phpbb\log\log $log) + public function __construct(\phpbb\user $user, \phpbb\extension\manager $manager, \phpbb\log\log $log) { $this->manager = $manager; $this->log = $log; - parent::__construct(); + parent::__construct($user); } } |