Don't make client addressbook source a required configuration parameter.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 20 Oct 2010 14:59:56 +0000 (10:59 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 20 Oct 2010 14:59:56 +0000 (10:59 -0400)
Chicken and egg problem: when turba is first installed, and using a source like
localsql with shares enabled, there will be no existing address books found to list.
If left unpopulated, this will cause client/* api calls to fail, but before we made
this a select list, we made it default to 'localsql' - which would cause the clients/*
api methods to fail since that's not a valid source when using shares.

 So, making this non-required doesn't loose anything we had before.

turba/config/conf.xml

index 9d2e12c..06947f0 100644 (file)
@@ -15,7 +15,7 @@
 
  <configsection name="client">
    <configheader>Clients</configheader>
-   <configenum name="addressbook" desc="Name of client addressbook">
+   <configenum name="addressbook" desc="Name of client addressbook" required="false">
      <values>
        <configspecial name="list-contact-sources"/>
      </values>