1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Delay fetching of carddata and set ETag and size instead.

This commit is contained in:
Thomas Tanghus 2012-07-09 01:48:42 +02:00
parent c6326dda76
commit 8b12b691af

View File

@ -138,8 +138,10 @@ class OC_Connector_Sabre_CardDAV extends Sabre_CardDAV_Backend_Abstract {
foreach($data as $i){
$cards[] = array(
'id' => $i['id'],
'carddata' => $i['carddata'],
//'carddata' => $i['carddata'],
'uri' => $i['uri'],
'size' => strlen($i['carddata']),
'etag' => md5($i['carddata']),
'lastmodified' => $i['lastmodified'] );
}