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

@@ -33,7 +33,7 @@ class set_exportftp extends set_export
{
$email_dest = '';
if ($usr_to) {
$user_t = $this->app['manipulator.user']->getRepository()->find($usr_to);
$user_t = $this->app['repo.users']->find($usr_to);
$email_dest = $user_t->getEmail();
}