Add user repository as a service

This commit is contained in:
Romain Neutron
2014-02-27 17:02:29 +01:00
parent ed8f98432d
commit 8f87e8b1c8
53 changed files with 127 additions and 123 deletions

View File

@@ -41,7 +41,7 @@ class module_console_checkExtension extends Command
$usrId = $input->getArgument('usr_id');
if (null === $TestUser = $this->container['manipulator.user']->getRepository()->find($usrId)) {
if (null === $TestUser = $this->container['repo.users']->find($usrId)) {
$output->writeln("<error>Wrong user !</error>");
return 1;