mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Replace app['phraseanet.appbox']->get_databox using trait
This commit is contained in:
@@ -40,7 +40,7 @@ class module_report_sql
|
||||
public function __construct(Application $app, module_report $report)
|
||||
{
|
||||
$this->conn = $app['phraseanet.appbox']->get_connection();
|
||||
$this->connbas = $app['phraseanet.appbox']->get_databox($report->getSbasId())->get_connection();
|
||||
$this->connbas = $app->findDataboxById($report->getSbasId())->get_connection();
|
||||
$this->filter = new module_report_sqlfilter($app, $report);
|
||||
$this->sql = '';
|
||||
$this->params = [];
|
||||
|
Reference in New Issue
Block a user