From: Daniel Kesselberg Date: Sat, 9 Nov 2019 14:18:52 +0000 (+0100) Subject: Make timeout a optional parameter X-Git-Tag: v16.0.7RC1~55^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F17929%2Fhead;p=nextcloud-server.git Make timeout a optional parameter Signed-off-by: Daniel Kesselberg --- diff --git a/apps/files_external/lib/Lib/Backend/SMB.php b/apps/files_external/lib/Lib/Backend/SMB.php index a1fcd7fe305..e9bb5665606 100644 --- a/apps/files_external/lib/Lib/Backend/SMB.php +++ b/apps/files_external/lib/Lib/Backend/SMB.php @@ -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)