Merge pull request #16571 from nextcloud/enh/update_preview_controller

Update PreviewController
This commit is contained in:
Morris Jobke 2019-07-29 10:35:08 +02:00 committed by GitHub
commit ef86346886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -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;
}
/**