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:
parent
07b8c0663d
commit
7b0452e53a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user