Skip to content

Commit

Permalink
Merge pull request #31736 from nextcloud/bugfix/noid/disable-bulkupload
Browse files Browse the repository at this point in the history
Disable bulk upload by not advertising it
  • Loading branch information
nickvergessen authored Mar 29, 2022
2 parents c28a4c2 + e1e003f commit bdfc656
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/dav/lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public function getCapabilities() {
return [
'dav' => [
'chunking' => '1.0',
'bulkupload' => '1.0',
// disabled because of https://github.com/nextcloud/desktop/issues/4243
// 'bulkupload' => '1.0',
]
];
}
Expand Down
3 changes: 2 additions & 1 deletion apps/dav/tests/unit/CapabilitiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function testGetCapabilities() {
$expected = [
'dav' => [
'chunking' => '1.0',
'bulkupload' => '1.0',
// disabled because of https://github.com/nextcloud/desktop/issues/4243
// 'bulkupload' => '1.0',
],
];
$this->assertSame($expected, $capabilities->getCapabilities());
Expand Down

0 comments on commit bdfc656

Please sign in to comment.