mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Cleanup Contacts/AddressBook PDO settings
This commit is contained in:
parent
275e5c5947
commit
0374ded776
4 changed files with 8 additions and 11 deletions
|
|
@ -19,7 +19,7 @@ export class ContactsAdminSettings {
|
|||
addObservablesTo(this, {
|
||||
enableContacts: !!SettingsGet('ContactsEnable'),
|
||||
contactsSync: !!SettingsGet('ContactsSync'),
|
||||
contactsType: '',
|
||||
contactsType: SettingsGet('ContactsPdoType'),
|
||||
|
||||
pdoDsn: SettingsGet('ContactsPdoDsn'),
|
||||
pdoUser: SettingsGet('ContactsPdoUser'),
|
||||
|
|
@ -69,8 +69,6 @@ export class ContactsAdminSettings {
|
|||
})
|
||||
.extend({ notify: 'always' });
|
||||
|
||||
this.contactsType(SettingsGet('ContactsPdoType'));
|
||||
|
||||
addSubscribablesTo(this, {
|
||||
enableContacts: value =>
|
||||
Remote.saveAdminConfig(null, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue