From 6c3faa96d26200c291865aea024ba0f50e9b8877 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 9 Nov 2019 15:18:52 +0100 Subject: [PATCH] Make timeout a optional parameter Signed-off-by: Daniel Kesselberg --- apps/files_external/lib/Lib/Backend/SMB.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_external/lib/Lib/Backend/SMB.php b/apps/files_external/lib/Lib/Backend/SMB.php index a1fcd7fe30..e9bb566560 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)