From 2f69eb4afa2c923cddca2ba0d16d8d7b0bc97680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 6 Feb 2015 14:18:01 +0100 Subject: rename User entity --- src/Wallabag/CoreBundle/Command/InstallCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Wallabag/CoreBundle/Command/InstallCommand.php') 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; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Wallabag\CoreBundle\Entity\Users; +use Wallabag\CoreBundle\Entity\User; use Wallabag\CoreBundle\Entity\UsersConfig; class InstallCommand extends ContainerAwareCommand @@ -128,7 +128,7 @@ class InstallCommand extends ContainerAwareCommand $dialog = $this->getHelperSet()->get('dialog'); $em = $this->getContainer()->get('doctrine.orm.entity_manager'); - $user = new Users(); + $user = new User(); $user->setUsername($dialog->ask($output, 'Username (default: wallabag) :', 'wallabag')); $user->setPassword($dialog->ask($output, 'Password (default: wallabag) :', 'wallabag')); $user->setEmail($dialog->ask($output, 'Email:', '')); -- cgit v1.2.3