mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove User_Adapter
This commit is contained in:
@@ -73,7 +73,7 @@ class Query implements ControllerProviderInterface
|
||||
$result = $app['phraseanet.SE']->query($query, (($page - 1) * $perPage), $perPage, $options);
|
||||
|
||||
$userQuery = new UserQuery();
|
||||
$userQuery->setUsrId($app['authentication']->getUser()->get_id());
|
||||
$userQuery->setUsrId($app['authentication']->getUser()->getId());
|
||||
$userQuery->setQuery($result->getQuery());
|
||||
|
||||
$app['EM']->persist($userQuery);
|
||||
|
Reference in New Issue
Block a user