From f56e6ddcac67889e8cd3c3e5d4fff96935a28ea5 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 --- Admin/Install/Application/Shop/Application.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Admin/Install/Application/Shop/Application.php b/Admin/Install/Application/Shop/Application.php index c21e9c0..fd9d452 100755 --- a/Admin/Install/Application/Shop/Application.php +++ b/Admin/Install/Application/Shop/Application.php @@ -143,7 +143,7 @@ final class Application $this->app->eventManager = new EventManager($this->app->dispatcher); $this->app->accountManager = new AccountManager($this->app->sessionManager); $this->app->l11nServer = LocalizationMapper::get()->where('id', 1)->execute(); - $this->app->orgId = $this->getApplicationOrganization($request, $this->config['app']); + $this->app->unitId = $this->getApplicationOrganization($request, $this->config['app']); $aid = Auth::authenticate($this->app->sessionManager); $request->header->account = $aid; @@ -174,7 +174,7 @@ final class Application $pageView = new ShopView($this->app->l11nManager, $request, $response); $head = new Head(); - $pageView->setData('orgId', $this->app->orgId); + $pageView->setData('unitId', $this->app->unitId); $pageView->setData('head', $head); $response->set('Content', $pageView); @@ -213,7 +213,7 @@ final class Application $request->getData('CSRF'), $request->getRouteVerb(), $this->app->appName, - $this->app->orgId, + $this->app->unitId, $account, $request->getData() ),