summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-12-03 13:20:01 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-12-03 13:20:01 +0100
commitc9cd633665286041c69f4a3444dd0401975a90fc (patch)
treec89457184b80318c377a11dd2ce41f62b1dbf28d /lib/private/legacy
parent64bc7c79e8e2f60b80eb56c821a2c2d62d123e43 (diff)
downloadnextcloud-server-c9cd633665286041c69f4a3444dd0401975a90fc.tar.gz
nextcloud-server-c9cd633665286041c69f4a3444dd0401975a90fc.zip
Fix the download of multiple files from the webUI
needed a setupFS call Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Files.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index 8b3ce2d0291..90aff098cd6 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -109,6 +109,7 @@ class OC_Files {
* @param array $params ; 'head' boolean to only send header of the request ; 'range' http range header
*/
public static function get($dir, $files, $params = null) {
+ OC_Util::setupFS();
$view = \OC\Files\Filesystem::getView();
$getType = self::FILE;
$filename = $dir;