Remove unneeded argument
This commit is contained in:
parent
55fd0082aa
commit
8ebe667202
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class FilesPlugin extends \Sabre\DAV\ServerPlugin {
|
|||
*/
|
||||
function httpGet(RequestInterface $request, ResponseInterface $response) {
|
||||
// Only handle valid files
|
||||
$node = $this->tree->getNodeForPath($request->getPath(), 0);
|
||||
$node = $this->tree->getNodeForPath($request->getPath());
|
||||
if (!($node instanceof IFile)) return;
|
||||
|
||||
$response->addHeader('Content-Disposition', 'attachment');
|
||||
|
|
Loading…
Reference in a new issue