aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/user/add.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-02-29 23:24:01 -0800
committerMatt Friedman <maf675@gmail.com>2016-02-29 23:24:01 -0800
commit7b0452e53aa750761c3042183e5ad7dd2cb3b344 (patch)
tree6821062e530eda794dcb60a3f8b554dd626339c6 /phpBB/phpbb/console/command/user/add.php
parent07b8c0663d17bc891dcb19b7394a24a108316d36 (diff)
downloadforums-7b0452e53aa750761c3042183e5ad7dd2cb3b344.tar
forums-7b0452e53aa750761c3042183e5ad7dd2cb3b344.tar.gz
forums-7b0452e53aa750761c3042183e5ad7dd2cb3b344.tar.bz2
forums-7b0452e53aa750761c3042183e5ad7dd2cb3b344.tar.xz
forums-7b0452e53aa750761c3042183e5ad7dd2cb3b344.zip
[ticket/12684] Remove unnecessary null arguments
PHPBB3-12684
Diffstat (limited to 'phpBB/phpbb/console/command/user/add.php')
-rw-r--r--phpBB/phpbb/console/command/user/add.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/user/add.php b/phpBB/phpbb/console/command/user/add.php
index 3e4fbe994f..6937cd17d2 100644
--- a/phpBB/phpbb/console/command/user/add.php
+++ b/phpBB/phpbb/console/command/user/add.php
@@ -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);
}