Set User_Query object as a service

This commit is contained in:
Nicolas Le Goff
2014-09-09 19:34:51 +02:00
parent ec4d2c364f
commit 2ad315cfb2
23 changed files with 1336 additions and 1335 deletions

View File

@@ -458,7 +458,7 @@ class databox extends base
$collection->unmount_collection($this->app);
}
$query = new User_Query($this->app);
$query = $this->app['phraseanet.user-query'];
$total = $query->on_sbas_ids([$this->id])
->include_phantoms(false)
->include_special_users(true)