summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-11-09 15:18:52 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-11-09 15:18:52 +0100
commit2bd591f227f36c5dfba62e674e0462d0b4d8ad9c (patch)
treef50debf5ce31661a46f272f37c874772108186fa /apps/files_external
parent9fe4b953e98a067b77ccf10f848b97724ac82c0a (diff)
downloadnextcloud-server-2bd591f227f36c5dfba62e674e0462d0b4d8ad9c.tar.gz
nextcloud-server-2bd591f227f36c5dfba62e674e0462d0b4d8ad9c.zip
Make timeout a optional parameter
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Lib/Backend/SMB.php1
1 files changed, 1 insertions, 0 deletions
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)