Horde: Replace empty address books entires with default source


mysql> update horde_prefs set pref_value = concat(ifnull(pref_value,""), '["ldap"]')
WHERE pref_name = 'addressbooks' AND pref_value = '';

In this example the default address book source is named ldap.

Tags

Horde: Replace empty address books entires with default source