aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-30 12:27:45 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-01 15:02:36 +0200
commit055a003661a5c53e092103f02c57015f256ece94 (patch)
treeabcb456de0999b10353380915bce4fde8fefee40 /apps/files_sharing/lib
parentf212c692ac5204fbea4639727db8e464152dba5d (diff)
downloadnextcloud-server-055a003661a5c53e092103f02c57015f256ece94.tar.gz
nextcloud-server-055a003661a5c53e092103f02c57015f256ece94.zip
Use an actual function of the storage to determine needsPartFile
We have a function for it so better to override that. Also because other codes that might check this should get the right value. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/External/Storage.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php
index 638f82f7027..a631a029aba 100644
--- a/apps/files_sharing/lib/External/Storage.php
+++ b/apps/files_sharing/lib/External/Storage.php
@@ -366,4 +366,7 @@ class Storage extends DAV implements ISharedStorage {
return $permissions;
}
+ public function needsPartFile() {
+ return false;
+ }
}