From: <ral...@us...> - 2012-03-31 20:43:31
|
Author: ralfbecker Date: Sat Mar 31 22:40:16 2012 New Revision: 38736 URL: http://svn.stylite.de/viewvc/egroupware?rev=38736&view=rev Log: 1.8.004 contains necessary schema for carddav_name attribute Modified: branches/1.8/addressbook/inc/class.addressbook_groupdav.inc.php Modified: branches/1.8/addressbook/inc/class.addressbook_groupdav.inc.php URL: http://svn.stylite.de/viewvc/egroupware/branches/1.8/addressbook/inc/class.addressbook_groupdav.inc.php?rev=38736&r1=38735&r2=38736&view=diff ============================================================================== --- branches/1.8/addressbook/inc/class.addressbook_groupdav.inc.php (original) +++ branches/1.8/addressbook/inc/class.addressbook_groupdav.inc.php Sat Mar 31 22:40:16 2012 @@ -73,7 +73,7 @@ // since 1.9.007 we allow clients to specify the URL when creating a new contact, as specified by CardDAV // LDAP does NOT have a carddav_name attribute --> stick with id mapped to LDAP attribute uid - if (version_compare($GLOBALS['egw_info']['apps']['phpgwapi']['version'], '1.9.007', '<') || + if (version_compare($GLOBALS['egw_info']['apps']['phpgwapi']['version'], '1.8.004', '<') || $this->bo->contact_repository == 'ldap' || $this->bo->account_repository == 'ldap' && strpos($_SERVER['REQUEST_URI'].'/','/addressbook-accounts/') !== false) { |