mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/12684] Remove unnecessary null arguments
PHPBB3-12684
This commit is contained in:
@@ -134,7 +134,7 @@ class add extends \phpbb\console\command\command
|
|||||||
|
|
||||||
if (!$data['username'])
|
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);
|
$data['username'] = $helper->ask($input, $output, $question);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,7 +158,7 @@ class add extends \phpbb\console\command\command
|
|||||||
|
|
||||||
if (!$data['email'])
|
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);
|
$data['email'] = $helper->ask($input, $output, $question);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user