Merge pull request #17925 from nextcloud/backport/17873/stable17
[stable17] Make timeout a optional parameter
This commit is contained in:
commit
a78d05a42e
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ class SMB extends Backend {
|
||||||
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
|
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
|
||||||
(new DefinitionParameter('timeout', $l->t('Timeout')))
|
(new DefinitionParameter('timeout', $l->t('Timeout')))
|
||||||
->setType(DefinitionParameter::VALUE_HIDDEN)
|
->setType(DefinitionParameter::VALUE_HIDDEN)
|
||||||
|
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
|
||||||
])
|
])
|
||||||
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
|
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
|
||||||
->addAuthScheme(AuthMechanism::SCHEME_SMB)
|
->addAuthScheme(AuthMechanism::SCHEME_SMB)
|
||||||
|
|
Loading…
Reference in a new issue