Delay fetching of carddata and set ETag and size instead.
This commit is contained in:
parent
47aaca49a1
commit
f5c329af98
|
@ -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…
Reference in New Issue