diff options
author | Matt Friedman <maf675@gmail.com> | 2016-02-29 14:23:32 -0800 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2016-02-29 14:23:32 -0800 |
commit | fe31060fca4a07696029c50af2c74c88ab5d85fe (patch) | |
tree | 38560111c28002e2881c3a1b4aa87924ae9a0699 /phpBB/phpbb/console/command/user/add.php | |
parent | 637b02690db0d3b7af2915c1da4bacc8fa054f6c (diff) | |
download | forums-fe31060fca4a07696029c50af2c74c88ab5d85fe.tar forums-fe31060fca4a07696029c50af2c74c88ab5d85fe.tar.gz forums-fe31060fca4a07696029c50af2c74c88ab5d85fe.tar.bz2 forums-fe31060fca4a07696029c50af2c74c88ab5d85fe.tar.xz forums-fe31060fca4a07696029c50af2c74c88ab5d85fe.zip |
[ticket/12684] Fix tests
PHPBB3-12684
Diffstat (limited to 'phpBB/phpbb/console/command/user/add.php')
-rw-r--r-- | phpBB/phpbb/console/command/user/add.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/user/add.php b/phpBB/phpbb/console/command/user/add.php index be9f484aeb..46056caffd 100644 --- a/phpBB/phpbb/console/command/user/add.php +++ b/phpBB/phpbb/console/command/user/add.php @@ -125,7 +125,6 @@ class add extends \phpbb\console\command\command $question->setValidator(function ($value) use ($self, $helper, $input, $output) { $question = new Question($self->ask_user('CONFIRM_PASSWORD')); $question->setHidden(true); - $question->setHiddenFallback(false); $confirm = $helper->ask($input, $output, $question); if ($confirm != $value) @@ -135,7 +134,6 @@ class add extends \phpbb\console\command\command return $value; }); $question->setHidden(true); - $question->setHiddenFallback(false); $question->setMaxAttempts(5); $data['new_password'] = $helper->ask($input, $output, $question); @@ -223,7 +221,7 @@ class add extends \phpbb\console\command\command if ($error) { - throw new runtime_exception(implode("\n", array_map(array($this->user, 'lang'), $error))); + throw new runtime_exception(implode("\n", array_map(array($this->language, 'lang'), $error))); } } |