summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/contacts/lib/connector_sabre.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/contacts/lib/connector_sabre.php b/apps/contacts/lib/connector_sabre.php
index c967e906601..b712d9eed25 100644
--- a/apps/contacts/lib/connector_sabre.php
+++ b/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'] );
}