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

@@ -371,7 +371,7 @@ class record_preview extends record_adapter
[
'final' => []
, 'comment' => []
, 'user' => $row['usr_id'] ? $this->app['manipulator.user']->getRepository()->find($row['usr_id']) : null
, 'user' => $row['usr_id'] ? $this->app['repo.users']->find($row['usr_id']) : null
];
}