summaryrefslogtreecommitdiffstats
path: root/core/Controller/PreviewController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/PreviewController.php')
-rw-r--r--core/Controller/PreviewController.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/Controller/PreviewController.php b/core/Controller/PreviewController.php
index 3dfc4872d01..c25d9178310 100644
--- a/core/Controller/PreviewController.php
+++ b/core/Controller/PreviewController.php
@@ -48,9 +48,6 @@ class PreviewController extends Controller {
/** @var IPreview */
private $preview;
- /** @var ITimeFactory */
- private $timeFactory;
-
/**
* PreviewController constructor.
*
@@ -65,15 +62,13 @@ class PreviewController extends Controller {
IRequest $request,
IPreview $preview,
IRootFolder $root,
- string $userId,
- ITimeFactory $timeFactory
+ ?string $userId
) {
parent::__construct($appName, $request);
$this->preview = $preview;
$this->root = $root;
$this->userId = $userId;
- $this->timeFactory = $timeFactory;
}
/**