mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Add user repository as a service
This commit is contained in:
@@ -512,7 +512,7 @@ class User_Query implements User_QueryInterface
|
||||
$users = new ArrayCollection();
|
||||
|
||||
foreach ($rs as $row) {
|
||||
$users[] = $this->app['manipulator.user']->getRepository()->find($row['id']);
|
||||
$users[] = $this->app['repo.users']->find($row['id']);
|
||||
}
|
||||
|
||||
$this->results = $users;
|
||||
|
Reference in New Issue
Block a user