summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/publicwebdav.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-23 11:21:06 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-23 11:21:06 +0100
commit5352b4b2b83c5f141f68194c77c239753da30b9e (patch)
tree219b2f87aa788b7660cd5b4081d0f251757ba91a /apps/files_sharing/publicwebdav.php
parentd8f04f5a97e77bf5fb84b05ddd9b3a476fecfb7c (diff)
parent07d5725de2aa597f41bfc25f676af935b60a52be (diff)
downloadnextcloud-server-5352b4b2b83c5f141f68194c77c239753da30b9e.tar.gz
nextcloud-server-5352b4b2b83c5f141f68194c77c239753da30b9e.zip
Merge pull request #10292 from owncloud/external-share-delete
Fix trashbin when deleting a file over an external share
Diffstat (limited to 'apps/files_sharing/publicwebdav.php')
-rw-r--r--apps/files_sharing/publicwebdav.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/publicwebdav.php b/apps/files_sharing/publicwebdav.php
index 2c7ccf8d92c..240891ffef6 100644
--- a/apps/files_sharing/publicwebdav.php
+++ b/apps/files_sharing/publicwebdav.php
@@ -54,7 +54,6 @@ $server->subscribeEvent('beforeMethod', function () use ($server, $objectTree, $
$ownerView = \OC\Files\Filesystem::getView();
$path = $ownerView->getPath($fileId);
-
$view = new \OC\Files\View($ownerView->getAbsolutePath($path));
$rootInfo = $view->getFileInfo('');