Skip to content

Commit 34855a6

Browse files
committed
fix(core): add the app store lexicon entry dropped by the backport
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
1 parent 685a416 commit 34855a6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

core/AppInfo/ConfigLexicon.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,16 @@ public function getAppConfigs(): array {
103103
defaultRaw: true,
104104
definition: 'Whether on demand preview migration is enabled.'
105105
),
106+
new Entry(
107+
key: self::APPSTORE_LINK_SHOWN,
108+
type: ValueType::BOOL,
109+
defaultRaw: fn (Preset $p): bool => match ($p) {
110+
Preset::NONE, Preset::PRIVATE, Preset::FAMILY, Preset::CLUB => true,
111+
default => false,
112+
},
113+
definition: 'Show the app store link in the app menu to accounts without admin rights',
114+
note: 'When this key is not set, the link is also hidden while a valid subscription is available or while "appstoreenabled" is disabled. Setting this key explicitly takes precedence over both.',
115+
),
106116
];
107117
}
108118

0 commit comments

Comments
 (0)