From 11f5904dd58cbcb45e0e3e6c466f187e30323155 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Wed, 16 Dec 2020 22:30:19 +0100 Subject: Fix mapper->find and empty user sessions Signed-off-by: Sean Molenaar --- lib/Controller/ExportController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/Controller/ExportController.php') diff --git a/lib/Controller/ExportController.php b/lib/Controller/ExportController.php index 4bd4c667d..ad1975639 100644 --- a/lib/Controller/ExportController.php +++ b/lib/Controller/ExportController.php @@ -31,15 +31,14 @@ class ExportController extends Controller private $itemService; public function __construct( - string $appName, IRequest $request, FolderServiceV2 $folderService, FeedServiceV2 $feedService, ItemServiceV2 $itemService, OpmlService $opmlService, - IUserSession $userSession + ?IUserSession $userSession ) { - parent::__construct($appName, $request, $userSession); + parent::__construct($request, $userSession); $this->feedService = $feedService; $this->folderService = $folderService; $this->opmlService = $opmlService; -- cgit v1.2.3