summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/FilesPlugin.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-11-07 13:23:10 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-14 14:45:33 +0100
commit17ea1bfb75c682ed8fc168b39a63c153abf67f18 (patch)
tree08c19be5f31889c0ef465d8ce5ee9231a62a0f8d /apps/dav/lib/Connector/Sabre/FilesPlugin.php
parentcebb68992509215163f6776b76e48411a31a287e (diff)
downloadnextcloud-server-17ea1bfb75c682ed8fc168b39a63c153abf67f18.tar.gz
nextcloud-server-17ea1bfb75c682ed8fc168b39a63c153abf67f18.zip
Remove unused $view from FilesPlugin (#26549)
The Sabre FilesPlugin never uses the view so remove it.
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/FilesPlugin.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesPlugin.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
index 539e22296f2..59b326243ee 100644
--- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
@@ -115,7 +115,6 @@ class FilesPlugin extends ServerPlugin {
/**
* @param Tree $tree
- * @param View $view
* @param IConfig $config
* @param IRequest $request
* @param IPreview $previewManager
@@ -123,14 +122,12 @@ class FilesPlugin extends ServerPlugin {
* @param bool $downloadAttachment
*/
public function __construct(Tree $tree,
- View $view,
IConfig $config,
IRequest $request,
IPreview $previewManager,
$isPublic = false,
$downloadAttachment = true) {
$this->tree = $tree;
- $this->fileView = $view;
$this->config = $config;
$this->request = $request;
$this->isPublic = $isPublic;