summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/DefinitionParameter.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Lib/DefinitionParameter.php')
-rw-r--r--apps/files_external/lib/Lib/DefinitionParameter.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/DefinitionParameter.php b/apps/files_external/lib/Lib/DefinitionParameter.php
index e1f8ed733a1..7250a77e6c1 100644
--- a/apps/files_external/lib/Lib/DefinitionParameter.php
+++ b/apps/files_external/lib/Lib/DefinitionParameter.php
@@ -27,6 +27,9 @@ namespace OCA\Files_External\Lib;
* Parameter for an external storage definition
*/
class DefinitionParameter implements \JsonSerializable {
+ // placeholder value for password fields, when the client updates a storage configuration
+ // placeholder values are ignored and the field is left unmodified
+ const UNMODIFIED_PLACEHOLDER = '__unmodified__';
/** Value constants */
const VALUE_TEXT = 0;