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_sharing/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_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/External/Storage.php | 3 |
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; + } } |