|
|
|
@ -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(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|