Skip to content

Commit 9439fdc

Browse files
ArtificialOwlbackportbot[bot]
authored andcommitted
fix(lexicon): remove default lazy param
Signed-off-by: Maxence Lange <maxence@artificial-owl.com> [skip ci]
1 parent ee9d5b9 commit 9439fdc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

core/AppInfo/ConfigLexicon.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public function getAppConfigs(): array {
4949
type: ValueType::BOOL,
5050
defaultRaw: true,
5151
definition: 'adds share permission to public shares to allow adding them to your Nextcloud (federation)',
52-
lazy: false,
5352
),
5453
new Entry(
5554
key: self::SHARE_CUSTOM_TOKEN,
@@ -59,7 +58,6 @@ public function getAppConfigs(): array {
5958
default => false,
6059
},
6160
definition: 'Allow users to customize share URL',
62-
lazy: false,
6361
note: 'Shares with guessable tokens may be accessed easily. Shares with custom tokens will continue to be accessible after this setting has been disabled.',
6462
),
6563
new Entry(self::SHARE_LINK_PASSWORD_DEFAULT, ValueType::BOOL, false, 'Ask for a password when sharing document by default'),
@@ -91,10 +89,10 @@ public function getAppConfigs(): array {
9189
definition: 'Enforce expiration date for shares via link or mail'
9290
),
9391
new Entry(self::LASTCRON_TIMESTAMP, ValueType::INT, 0, 'timestamp of last cron execution'),
94-
new Entry(self::OCM_DISCOVERY_ENABLED, ValueType::BOOL, true, 'enable/disable OCM', lazy: false),
95-
new Entry(self::OCM_INVITE_ACCEPT_DIALOG, ValueType::STRING, '', 'route to local invite accept dialog', lazy: false, note: 'set as empty string to disable feature'),
96-
new Entry(self::UNIFIED_SEARCH_MIN_SEARCH_LENGTH, ValueType::INT, 1, 'Minimum search length to trigger the request', lazy: false, rename: 'unified-search.min-search-length'),
97-
new Entry(self::UNIFIED_SEARCH_MAX_RESULTS_PER_REQUEST, ValueType::INT, 25, 'Maximum results returned per search request', lazy: false, rename: 'unified-search.max-results-per-request'),
92+
new Entry(self::OCM_DISCOVERY_ENABLED, ValueType::BOOL, true, 'enable/disable OCM'),
93+
new Entry(self::OCM_INVITE_ACCEPT_DIALOG, ValueType::STRING, '', 'route to local invite accept dialog', note: 'set as empty string to disable feature'),
94+
new Entry(self::UNIFIED_SEARCH_MIN_SEARCH_LENGTH, ValueType::INT, 1, 'Minimum search length to trigger the request', rename: 'unified-search.min-search-length'),
95+
new Entry(self::UNIFIED_SEARCH_MAX_RESULTS_PER_REQUEST, ValueType::INT, 25, 'Maximum results returned per search request', rename: 'unified-search.max-results-per-request'),
9896
];
9997
}
10098

0 commit comments

Comments
 (0)