]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update apps/files_external/lib/Lib/Backend/SMB.php 17258/head
authorRobin Appelman <robin@icewind.nl>
Wed, 25 Sep 2019 12:59:44 +0000 (14:59 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2019 12:59:44 +0000 (14:59 +0200)
Co-Authored-By: Daniel Kesselberg <mail@danielkesselberg.de>
apps/files_external/lib/Lib/Backend/SMB.php

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