Merge pull request #16571 from nextcloud/enh/update_preview_controller
Update PreviewController
This commit is contained in:
commit
ef86346886
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue