Replace app['phraseanet.appbox']->get_databox using trait

This commit is contained in:
Benoît Burnichon
2015-06-30 11:32:34 +02:00
parent 360e69ff8d
commit 6e651f3b07
75 changed files with 171 additions and 151 deletions

View File

@@ -85,7 +85,7 @@ class record_exportElement extends record_adapter
$sbas_id = phrasea::sbasFromBas($this->app, $this->base_id);
$subdefgroups = $this->app['phraseanet.appbox']->get_databox($sbas_id)->get_subdef_structure();
$subdefgroups = $this->app->findDataboxById($sbas_id)->get_subdef_structure();
$subdefs = [];