mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Replace app['phraseanet.appbox']->get_databox using trait
This commit is contained in:
@@ -232,7 +232,7 @@ class databox_field implements cache_cacheableInterface
|
||||
public function hydrate(Application $app)
|
||||
{
|
||||
$this->app = $app;
|
||||
$this->set_databox($this->app['phraseanet.appbox']->get_databox($this->sbas_id));
|
||||
$this->set_databox($this->app->findDataboxById($this->sbas_id));
|
||||
$this->loadVocabulary();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user