Remove User_Adapter

This commit is contained in:
Nicolas Le Goff
2013-11-05 17:38:27 +01:00
parent 171390f7c8
commit c156f842c7
231 changed files with 3918 additions and 2986 deletions

View File

@@ -81,9 +81,9 @@ class module_console_systemMailCheck extends Command
$id = $dialog->ask($output, '<question>Which id ?</question>', '');
try {
$tmp_user = User_Adapter::getInstance($id, $this->container);
$tmp_user = $this->container['manipulator.user']->getRepository()->find($id);
if ($tmp_user->get_email() != $email) {
if ($tmp_user->getEmail() != $email) {
throw new Exception('Invalid user');
}