diff options
author | Jeremy <j0k3r@users.noreply.github.com> | 2015-02-06 14:23:55 +0100 |
---|---|---|
committer | Jeremy <j0k3r@users.noreply.github.com> | 2015-02-06 14:23:55 +0100 |
commit | 15d33c24dca0fc5b8b783eb68bd83f286481f364 (patch) | |
tree | d6ca676390279306bdfa8e40e536ec437acd9d18 /src/Wallabag/CoreBundle/Command | |
parent | 29c4517f7a8ed08239e5bee3d6c3fa823a83d102 (diff) | |
parent | 2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680 (diff) | |
download | wallabag-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')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 4 |
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; | |||
5 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | 5 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
6 | use Symfony\Component\Console\Input\InputInterface; | 6 | use Symfony\Component\Console\Input\InputInterface; |
7 | use Symfony\Component\Console\Output\OutputInterface; | 7 | use Symfony\Component\Console\Output\OutputInterface; |
8 | use Wallabag\CoreBundle\Entity\Users; | 8 | use Wallabag\CoreBundle\Entity\User; |
9 | use Wallabag\CoreBundle\Entity\UsersConfig; | 9 | use Wallabag\CoreBundle\Entity\UsersConfig; |
10 | 10 | ||
11 | class InstallCommand extends ContainerAwareCommand | 11 | class 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>', '')); |