Delay fetching of carddata and set ETag and size instead.

remotes/origin/stable5
Thomas Tanghus 14 years ago
parent 47aaca49a1
commit f5c329af98
  1. 4
      apps/contacts/lib/connector_sabre.php

@ -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'] );
}

Loading…
Cancel
Save