mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-02-11 14:28: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,
|
$request,
|
||||||
$this->app->accountManager->get($request->header->account),
|
$this->app->accountManager->get($request->header->account),
|
||||||
$this->app->dbPool,
|
$this->app->dbPool,
|
||||||
$this->app->orgId,
|
$this->app->unitId,
|
||||||
$this->app->appName
|
$this->app->appName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -83,7 +83,7 @@ final class BackendController extends Controller
|
||||||
$request,
|
$request,
|
||||||
$this->app->accountManager->get($request->header->account),
|
$this->app->accountManager->get($request->header->account),
|
||||||
$this->app->dbPool,
|
$this->app->dbPool,
|
||||||
$this->app->orgId,
|
$this->app->unitId,
|
||||||
$this->app->appName
|
$this->app->appName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -149,7 +149,7 @@ final class BackendController extends Controller
|
||||||
$request,
|
$request,
|
||||||
$this->app->accountManager->get($request->header->account),
|
$this->app->accountManager->get($request->header->account),
|
||||||
$this->app->dbPool,
|
$this->app->dbPool,
|
||||||
$this->app->orgId,
|
$this->app->unitId,
|
||||||
$this->app->appName
|
$this->app->appName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ final class TimerecordingController extends Controller
|
||||||
$nav = Navigation::getInstance($request,
|
$nav = Navigation::getInstance($request,
|
||||||
$this->app->accountManager->get($request->header->account),
|
$this->app->accountManager->get($request->header->account),
|
||||||
$this->app->dbPool,
|
$this->app->dbPool,
|
||||||
$this->app->orgId,
|
$this->app->unitId,
|
||||||
$this->app->appName
|
$this->app->appName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -75,7 +75,7 @@ final class TimerecordingController extends Controller
|
||||||
$request,
|
$request,
|
||||||
$this->app->accountManager->get($request->header->account),
|
$this->app->accountManager->get($request->header->account),
|
||||||
$this->app->dbPool,
|
$this->app->dbPool,
|
||||||
$this->app->orgId,
|
$this->app->unitId,
|
||||||
$this->app->appName
|
$this->app->appName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -137,7 +137,7 @@ final class TimerecordingController extends Controller
|
||||||
$nav = Navigation::getInstance($request,
|
$nav = Navigation::getInstance($request,
|
||||||
$this->app->accountManager->get($request->header->account),
|
$this->app->accountManager->get($request->header->account),
|
||||||
$this->app->dbPool,
|
$this->app->dbPool,
|
||||||
$this->app->orgId,
|
$this->app->unitId,
|
||||||
$this->app->appName
|
$this->app->appName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ final class SearchControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
};
|
};
|
||||||
|
|
||||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||||
$this->app->orgId = 1;
|
$this->app->unitId = 1;
|
||||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||||
$this->app->appSettings = new CoreSettings();
|
$this->app->appSettings = new CoreSettings();
|
||||||
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../../Modules/');
|
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../../Modules/');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user