mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-22 05:18:40 +00:00
org -> unit change, some new functionality
This commit is contained in:
parent
005357b5e1
commit
20e7fb2fe0
|
|
@ -54,7 +54,7 @@ final class BackendController extends Controller
|
|||
$request,
|
||||
$this->app->accountManager->get($request->header->account),
|
||||
$this->app->dbPool,
|
||||
$this->app->orgId,
|
||||
$this->app->unitId,
|
||||
$this->app->appName
|
||||
);
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ final class BackendController extends Controller
|
|||
$request,
|
||||
$this->app->accountManager->get($request->header->account),
|
||||
$this->app->dbPool,
|
||||
$this->app->orgId,
|
||||
$this->app->unitId,
|
||||
$this->app->appName
|
||||
);
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ final class BackendController extends Controller
|
|||
$request,
|
||||
$this->app->accountManager->get($request->header->account),
|
||||
$this->app->dbPool,
|
||||
$this->app->orgId,
|
||||
$this->app->unitId,
|
||||
$this->app->appName
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ final class TimerecordingController extends Controller
|
|||
$nav = Navigation::getInstance($request,
|
||||
$this->app->accountManager->get($request->header->account),
|
||||
$this->app->dbPool,
|
||||
$this->app->orgId,
|
||||
$this->app->unitId,
|
||||
$this->app->appName
|
||||
);
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ final class TimerecordingController extends Controller
|
|||
$request,
|
||||
$this->app->accountManager->get($request->header->account),
|
||||
$this->app->dbPool,
|
||||
$this->app->orgId,
|
||||
$this->app->unitId,
|
||||
$this->app->appName
|
||||
);
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ final class TimerecordingController extends Controller
|
|||
$nav = Navigation::getInstance($request,
|
||||
$this->app->accountManager->get($request->header->account),
|
||||
$this->app->dbPool,
|
||||
$this->app->orgId,
|
||||
$this->app->unitId,
|
||||
$this->app->appName
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ final class SearchControllerTest extends \PHPUnit\Framework\TestCase
|
|||
};
|
||||
|
||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||
$this->app->orgId = 1;
|
||||
$this->app->unitId = 1;
|
||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||
$this->app->appSettings = new CoreSettings();
|
||||
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../../Modules/');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user