diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-30 12:27:45 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-01 15:02:36 +0200 |
commit | 055a003661a5c53e092103f02c57015f256ece94 (patch) | |
tree | abcb456de0999b10353380915bce4fde8fefee40 /apps/files_external/lib | |
parent | f212c692ac5204fbea4639727db8e464152dba5d (diff) | |
download | nextcloud-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.php | 4 |
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; + } } |