aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command/InstallCommand.php
diff options
context:
space:
mode:
authorJeremy <j0k3r@users.noreply.github.com>2015-02-06 14:23:55 +0100
committerJeremy <j0k3r@users.noreply.github.com>2015-02-06 14:23:55 +0100
commit15d33c24dca0fc5b8b783eb68bd83f286481f364 (patch)
treed6ca676390279306bdfa8e40e536ec437acd9d18 /src/Wallabag/CoreBundle/Command/InstallCommand.php
parent29c4517f7a8ed08239e5bee3d6c3fa823a83d102 (diff)
parent2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680 (diff)
downloadwallabag-15d33c24dca0fc5b8b783eb68bd83f286481f364.tar.gz
wallabag-15d33c24dca0fc5b8b783eb68bd83f286481f364.tar.zst
wallabag-15d33c24dca0fc5b8b783eb68bd83f286481f364.zip
Merge pull request #1060 from wallabag/api-rename-user
rename User entity
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/InstallCommand.php')
-rw-r--r--src/Wallabag/CoreBundle/Command/InstallCommand.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php
index 32180020..feaaebf6 100644
--- a/src/Wallabag/CoreBundle/Command/InstallCommand.php
+++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php
@@ -5,7 +5,7 @@ namespace Wallabag\CoreBundle\Command;
5use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; 5use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
6use Symfony\Component\Console\Input\InputInterface; 6use Symfony\Component\Console\Input\InputInterface;
7use Symfony\Component\Console\Output\OutputInterface; 7use Symfony\Component\Console\Output\OutputInterface;
8use Wallabag\CoreBundle\Entity\Users; 8use Wallabag\CoreBundle\Entity\User;
9use Wallabag\CoreBundle\Entity\UsersConfig; 9use Wallabag\CoreBundle\Entity\UsersConfig;
10 10
11class InstallCommand extends ContainerAwareCommand 11class InstallCommand extends ContainerAwareCommand
@@ -128,7 +128,7 @@ class InstallCommand extends ContainerAwareCommand
128 $dialog = $this->getHelperSet()->get('dialog'); 128 $dialog = $this->getHelperSet()->get('dialog');
129 $em = $this->getContainer()->get('doctrine.orm.entity_manager'); 129 $em = $this->getContainer()->get('doctrine.orm.entity_manager');
130 130
131 $user = new Users(); 131 $user = new User();
132 $user->setUsername($dialog->ask($output, '<question>Username</question> <comment>(default: wallabag)</comment> :', 'wallabag')); 132 $user->setUsername($dialog->ask($output, '<question>Username</question> <comment>(default: wallabag)</comment> :', 'wallabag'));
133 $user->setPassword($dialog->ask($output, '<question>Password</question> <comment>(default: wallabag)</comment> :', 'wallabag')); 133 $user->setPassword($dialog->ask($output, '<question>Password</question> <comment>(default: wallabag)</comment> :', 'wallabag'));
134 $user->setEmail($dialog->ask($output, '<question>Email:</question>', '')); 134 $user->setEmail($dialog->ask($output, '<question>Email:</question>', ''));