mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
Remove use of databox singleton
This commit is contained in:
@@ -854,7 +854,8 @@ class module_report
|
|||||||
{
|
{
|
||||||
$tab = array();
|
$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) {
|
foreach ($databox->get_meta_structure() as $databox_field) {
|
||||||
/* @var $databox_field \databox_field */
|
/* @var $databox_field \databox_field */
|
||||||
|
Reference in New Issue
Block a user