Browse Source

Delay fetching of carddata and set ETag and size instead.

tags/v4.5.0beta1
Thomas Tanghus 12 years ago
parent
commit
f5c329af98
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      apps/contacts/lib/connector_sabre.php

+ 3
- 1
apps/contacts/lib/connector_sabre.php 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'] );
}


Loading…
Cancel
Save