1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

rename User entity

This commit is contained in:
Nicolas Lœuillet 2015-02-06 14:18:01 +01:00
parent 29c4517f7a
commit 2f69eb4afa
3 changed files with 60 additions and 14 deletions

View file

@ -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, '<question>Username</question> <comment>(default: wallabag)</comment> :', 'wallabag'));
$user->setPassword($dialog->ask($output, '<question>Password</question> <comment>(default: wallabag)</comment> :', 'wallabag'));
$user->setEmail($dialog->ask($output, '<question>Email:</question>', ''));