From 20e7fb2fe03c0f5d0930bae580bbe4524946aee2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 26 Jan 2023 21:54:13 +0100 Subject: [PATCH] org -> unit change, some new functionality --- Controller/BackendController.php | 6 +++--- Controller/TimerecordingController.php | 6 +++--- tests/Controller/SearchControllerTest.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 66ab530..fb22a77 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -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 ); diff --git a/Controller/TimerecordingController.php b/Controller/TimerecordingController.php index e293d2e..e16b433 100755 --- a/Controller/TimerecordingController.php +++ b/Controller/TimerecordingController.php @@ -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 ); diff --git a/tests/Controller/SearchControllerTest.php b/tests/Controller/SearchControllerTest.php index d7baac0..cfe6953 100755 --- a/tests/Controller/SearchControllerTest.php +++ b/tests/Controller/SearchControllerTest.php @@ -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/');