Skip to content

Commit

Permalink
Merge pull request #31171 from nextcloud/stable23-disable-bulkupload
Browse files Browse the repository at this point in the history
[stable23] Disable bulk upload by not advertising it
  • Loading branch information
blizzz authored Feb 15, 2022
2 parents 2260f1e + 585d069 commit d98fe9d
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 d98fe9d

Please sign in to comment.