aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-06 14:18:01 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-06 14:18:01 +0100
commit2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680 (patch)
treed6ca676390279306bdfa8e40e536ec437acd9d18 /src/Wallabag/CoreBundle/Command
parent29c4517f7a8ed08239e5bee3d6c3fa823a83d102 (diff)
downloadwallabag-2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680.tar.gz
wallabag-2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680.tar.zst
wallabag-2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680.zip
rename User entity
Diffstat (limited to 'src/Wallabag/CoreBundle/Command')
-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>', ''));