diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-03-14 15:14:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-14 15:14:59 +0100 |
commit | 6565533d3ba7230959fd51e5355871b392eb5df2 (patch) | |
tree | c9732ab9107ef270e8e41c69b7ce53a55ee52181 /apps | |
parent | 3c2312fb09ccc97652c9c1794e02d2111c1d4df5 (diff) | |
parent | 13e50cbcd7872bfa40a68622958ec6a4236af9ee (diff) | |
download | nextcloud-server-6565533d3ba7230959fd51e5355871b392eb5df2.tar.gz nextcloud-server-6565533d3ba7230959fd51e5355871b392eb5df2.zip |
Merge pull request #3600 from coletivoEITA/master
added method needsPartFile() in Storage
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/File.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index 391d42393f5..1f878df1564 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -510,9 +510,9 @@ class File extends Node implements IFile { */ private function needsPartFile($storage) { // TODO: in the future use ChunkHandler provided by storage - // and/or add method on Storage called "needsPartFile()" return !$storage->instanceOfStorage('OCA\Files_Sharing\External\Storage') && - !$storage->instanceOfStorage('OC\Files\Storage\OwnCloud'); + !$storage->instanceOfStorage('OC\Files\Storage\OwnCloud') && + $storage->needsPartFile(); } /** |