summaryrefslogtreecommitdiffstats
path: root/lib/Controller/ExportController.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-12-16 22:30:19 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-12-17 10:35:23 +0100
commit11f5904dd58cbcb45e0e3e6c466f187e30323155 (patch)
tree17e7cd35948b161a0e567dec94bb9aecbe64d895 /lib/Controller/ExportController.php
parent7bebaab86e2676466eb9d104ec1a57cd9634c0b4 (diff)
Fix mapper->find and empty user sessions
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Controller/ExportController.php')
-rw-r--r--lib/Controller/ExportController.php5
1 files changed, 2 insertions, 3 deletions
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;