mirror of https://github.com/nextcloud/server
Merge pull request #35425 from nextcloud/bumpMinimumDesktopClientForWebdav
minimum desktop client that is supported is 2.3.0
This commit is contained in:
commit
cd7cec587e
|
@ -64,7 +64,7 @@ class BlockLegacyClientPlugin extends ServerPlugin {
|
|||
return;
|
||||
}
|
||||
|
||||
$minimumSupportedDesktopVersion = $this->config->getSystemValue('minimum.supported.desktop.version', '2.0.0');
|
||||
$minimumSupportedDesktopVersion = $this->config->getSystemValue('minimum.supported.desktop.version', '2.3.0');
|
||||
|
||||
// Match on the mirall version which is in scheme "Mozilla/5.0 (%1) mirall/%2" or
|
||||
// "mirall/%1" for older releases
|
||||
|
|
|
@ -82,7 +82,7 @@ class BlockLegacyClientPluginTest extends TestCase {
|
|||
$this->config
|
||||
->expects($this->once())
|
||||
->method('getSystemValue')
|
||||
->with('minimum.supported.desktop.version', '2.0.0')
|
||||
->with('minimum.supported.desktop.version', '2.3.0')
|
||||
->willReturn('1.7.0');
|
||||
|
||||
$this->blockLegacyClientVersionPlugin->beforeHandler($request);
|
||||
|
@ -117,7 +117,7 @@ class BlockLegacyClientPluginTest extends TestCase {
|
|||
$this->config
|
||||
->expects($this->once())
|
||||
->method('getSystemValue')
|
||||
->with('minimum.supported.desktop.version', '2.0.0')
|
||||
->with('minimum.supported.desktop.version', '2.3.0')
|
||||
->willReturn('1.7.0');
|
||||
|
||||
$this->blockLegacyClientVersionPlugin->beforeHandler($request);
|
||||
|
|
|
@ -1910,9 +1910,9 @@ $CONFIG = [
|
|||
* client may not function as expected, and could lead to permanent data loss for
|
||||
* clients or other unexpected results.
|
||||
*
|
||||
* Defaults to ``2.0.0``
|
||||
* Defaults to ``2.3.0``
|
||||
*/
|
||||
'minimum.supported.desktop.version' => '2.0.0',
|
||||
'minimum.supported.desktop.version' => '2.3.0',
|
||||
|
||||
/**
|
||||
* Option to allow local storage to contain symlinks.
|
||||
|
|
Loading…
Reference in New Issue