mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Set User_Query object as a service
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user