summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-10 01:23:29 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-10 01:24:40 +0200
commit9d2cbc88f00173543cdefcf30c1d0f1498d95798 (patch)
tree785dd855fd3bf2b2d9cd1dedf09f6fcf6320c053
parent34ac2ea1ba7f05b34ae3070cf4ec0a211692c05a (diff)
downloadnextcloud-server-9d2cbc88f00173543cdefcf30c1d0f1498d95798.tar.gz
nextcloud-server-9d2cbc88f00173543cdefcf30c1d0f1498d95798.zip
Revert reversion of f5c329af981f59f78c12648ea41c258f477f3e82 :-P
-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..99b94fc767e 100644
--- a/apps/contacts/lib/connector_sabre.php
+++ b/apps/contacts/lib/connector_sabre.php
@@ -138,7 +138,9 @@ 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'],
+ 'size' => strlen($i['carddata']),
+ 'etag' => md5($i['carddata']),
'uri' => $i['uri'],
'lastmodified' => $i['lastmodified'] );
}