File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 88 */
99namespace OCA \Settings ;
1010
11+ use OCP \Config \IUserConfig ;
1112use OCP \Config \Lexicon \Entry ;
1213use OCP \Config \Lexicon \ILexicon ;
1314use OCP \Config \Lexicon \Strictness ;
1920 * Please Add & Manage your Config Keys in that file and keep the Lexicon up to date!
2021 */
2122class ConfigLexicon implements ILexicon {
23+ public const USER_SETTINGS_EMAIL = 'email ' ;
2224 public const USER_LIST_SHOW_STORAGE_PATH = 'user_list_show_storage_path ' ;
2325 public const USER_LIST_SHOW_USER_BACKEND = 'user_list_show_user_backend ' ;
2426 public const USER_LIST_SHOW_LAST_LOGIN = 'user_list_show_last_login ' ;
@@ -36,6 +38,13 @@ public function getAppConfigs(): array {
3638
3739 public function getUserConfigs (): array {
3840 return [
41+ new Entry (
42+ key: self ::USER_SETTINGS_EMAIL ,
43+ type: ValueType::STRING ,
44+ defaultRaw: '' ,
45+ definition: 'account mail address ' ,
46+ flags: IUserConfig::FLAG_INDEXED ,
47+ ),
3948 new Entry (
4049 key: self ::USER_LIST_SHOW_STORAGE_PATH ,
4150 type: ValueType::BOOL ,
You can’t perform that action at this time.
0 commit comments