mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Remove use of databox singleton
This commit is contained in:
@@ -854,7 +854,8 @@ class module_report
|
||||
{
|
||||
$tab = array();
|
||||
|
||||
$databox = databox::get_instance((int) $sbasid);
|
||||
$appbox = \appbox::get_instance(\bootstrap::getCore());
|
||||
$databox = $appbox->get_databox((int) $sbasid);
|
||||
|
||||
foreach ($databox->get_meta_structure() as $databox_field) {
|
||||
/* @var $databox_field \databox_field */
|
||||
|
Reference in New Issue
Block a user