diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-12-16 22:30:19 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2020-12-17 10:35:23 +0100 |
commit | 11f5904dd58cbcb45e0e3e6c466f187e30323155 (patch) | |
tree | 17e7cd35948b161a0e567dec94bb9aecbe64d895 /lib/Controller/PageController.php | |
parent | 7bebaab86e2676466eb9d104ec1a57cd9634c0b4 (diff) |
Fix mapper->find and empty user sessions
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r-- | lib/Controller/PageController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 8e55e69ee..4b39ba9c2 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -58,16 +58,15 @@ class PageController extends Controller private $statusService; public function __construct( - string $appName, IRequest $request, IConfig $settings, IURLGenerator $urlGenerator, IL10N $l10n, RecommendedSites $recommendedSites, StatusService $statusService, - IUserSession $userSession + ?IUserSession $userSession ) { - parent::__construct($appName, $request, $userSession); + parent::__construct($request, $userSession); $this->settings = $settings; $this->urlGenerator = $urlGenerator; $this->l10n = $l10n; |