[Tickets #7319] Re: Add new contact uses [default_dir] and not [sync_books]

bugs at horde.org bugs at horde.org
Fri Sep 19 08:48:41 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7319
------------------------------------------------------------------------------
  Ticket             | 7319
  Updated By         | patrick.abiven at apitech.fr
  Summary            | Add new contact uses [default_dir] and not [sync_books]
  Queue              | SyncML
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.abiven at apitech.fr (2008-09-19 04:48) wrote:

> Regarding the default_dir vs. sync_books, there is not much we can do
> at the moment, because the import function is not only used for
> SyncML but for other imports too.

As a workaround for our specific needs, we have modified:
- lib/SyncML/Device/Backend/Horde.php, function addEntry, if the  
$database is set to 'contacts', then we call the '/import' function  
with a specific value for the third argument.
- turba/lib/api.php, function _turba_import, if $import_source  
argument is set to our specific value, then we retrieve the address  
book from prefs['sync_books'] and not from prefs['default_dir']

Regards
Patrick





More information about the bugs mailing list