aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/config/command.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-07-17 17:19:36 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-07-17 20:37:24 +0200
commit07ce29c081c8bbd24a5094d89346be33dda583c5 (patch)
treef2ad07531041bbc70a49ead9d3fbca4c3e0205d6 /phpBB/phpbb/console/command/config/command.php
parent42477861a45935b10285a1434f4ffaf5b199c5c2 (diff)
downloadforums-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/config/command.php')
-rw-r--r--phpBB/phpbb/console/command/config/command.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/config/command.php b/phpBB/phpbb/console/command/config/command.php
index de3fbd7fa7..f0ad5d4d19 100644
--- a/phpBB/phpbb/console/command/config/command.php
+++ b/phpBB/phpbb/console/command/config/command.php
@@ -17,10 +17,10 @@ abstract class command extends \phpbb\console\command\command
/** @var \phpbb\config\config */
protected $config;
- function __construct(\phpbb\config\config $config)
+ function __construct(\phpbb\user $user, \phpbb\config\config $config)
{
$this->config = $config;
- parent::__construct();
+ parent::__construct($user);
}
}