]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make timeout a optional parameter 17929/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Sat, 9 Nov 2019 14:18:52 +0000 (15:18 +0100)
committerBackportbot <backportbot-noreply@rullzer.com>
Wed, 13 Nov 2019 16:08:15 +0000 (16:08 +0000)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/files_external/lib/Lib/Backend/SMB.php

index a1fcd7fe305d9142d81a8ae3ae1a7e0a99489363..e9bb5665606e0d259e2db2d7ad354d0911d36050 100644 (file)
@@ -55,6 +55,7 @@ class SMB extends Backend {
                                        ->setFlag(DefinitionParameter::FLAG_OPTIONAL),
                                (new DefinitionParameter('timeout', $l->t('Timeout')))
                                        ->setType(DefinitionParameter::VALUE_HIDDEN)
+                                       ->setFlag(DefinitionParameter::FLAG_OPTIONAL),
                        ])
                        ->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
                        ->addAuthScheme(AuthMechanism::SCHEME_SMB)