1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 12:52:08 +02:00

[ticket/12684] Remove unnecessary null arguments

PHPBB3-12684
This commit is contained in:
Matt Friedman 2016-02-29 23:24:01 -08:00
parent 07b8c0663d
commit 7b0452e53a

View File

@ -134,7 +134,7 @@ class add extends \phpbb\console\command\command
if (!$data['username'])
{
$question = new Question($this->ask_user('USERNAME'), null);
$question = new Question($this->ask_user('USERNAME'));
$data['username'] = $helper->ask($input, $output, $question);
}
@ -158,7 +158,7 @@ class add extends \phpbb\console\command\command
if (!$data['email'])
{
$question = new Question($this->ask_user('EMAIL_ADDRESS'), null);
$question = new Question($this->ask_user('EMAIL_ADDRESS'));
$data['email'] = $helper->ask($input, $output, $question);
}