aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/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_external/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_external/lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/OwnCloud.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Storage/OwnCloud.php b/apps/files_external/lib/Lib/Storage/OwnCloud.php
index d56e6b66145..3ee2b70ef22 100644
--- a/apps/files_external/lib/Lib/Storage/OwnCloud.php
+++ b/apps/files_external/lib/Lib/Storage/OwnCloud.php
@@ -73,4 +73,8 @@ class OwnCloud extends \OC\Files\Storage\DAV{
parent::__construct($params);
}
+
+ public function needsPartFile() {
+ return false;
+ }
}