mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Refactor Appbox
This commit is contained in:
@@ -20,7 +20,7 @@ class module_admin
|
||||
|
||||
function getTree($position=false)
|
||||
{
|
||||
$appbox = appbox::get_instance();
|
||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||
$session = $appbox->get_session();
|
||||
|
||||
$usr_id = $session->get_usr_id();
|
||||
|
@@ -245,7 +245,7 @@ class module_report
|
||||
*/
|
||||
public function __construct($d1, $d2, $sbas_id, $collist)
|
||||
{
|
||||
$appbox = appbox::get_instance();
|
||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||
$session = $appbox->get_session();
|
||||
$this->dmin = $d1;
|
||||
$this->dmax = $d2;
|
||||
|
Reference in New Issue
Block a user