mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Replace app['phraseanet.appbox']->get_databox using trait
This commit is contained in:
@@ -1008,7 +1008,7 @@ class User_Query implements User_QueryInterface
|
||||
|
||||
private function setActiveBases()
|
||||
{
|
||||
foreach ($this->app['phraseanet.appbox']->get_databoxes() as $databox) {
|
||||
foreach ($this->app->getDataboxes() as $databox) {
|
||||
$this->active_sbas[] = $databox->get_sbas_id();
|
||||
foreach ($databox->get_collections() as $collection) {
|
||||
$this->active_bases[] = $collection->get_base_id();
|
||||
|
Reference in New Issue
Block a user