aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/fixup/recalculate_email_hash.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/fixup/recalculate_email_hash.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/fixup/recalculate_email_hash.php')
-rw-r--r--phpBB/phpbb/console/command/fixup/recalculate_email_hash.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/fixup/recalculate_email_hash.php b/phpBB/phpbb/console/command/fixup/recalculate_email_hash.php
index ec04da4267..cb821cfe20 100644
--- a/phpBB/phpbb/console/command/fixup/recalculate_email_hash.php
+++ b/phpBB/phpbb/console/command/fixup/recalculate_email_hash.php
@@ -20,11 +20,11 @@ class recalculate_email_hash extends \phpbb\console\command\command
/** @var \phpbb\db\driver\driver_interface */
protected $db;
- function __construct(\phpbb\db\driver\driver_interface $db)
+ function __construct(\phpbb\user $user, \phpbb\db\driver\driver_interface $db)
{
$this->db = $db;
- parent::__construct();
+ parent::__construct($user);
}
protected function configure()