summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-09 13:05:53 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-10 01:24:40 +0200
commit50462903d6dd86f867947cbc1cdb5b65f72592ab (patch)
treee85973f94a01e5b994cf36250d67ed30ba42a6fa /apps
parentb97eb3a48fab0ca166d00c4f8c0499f96983256b (diff)
downloadnextcloud-server-50462903d6dd86f867947cbc1cdb5b65f72592ab.tar.gz
nextcloud-server-50462903d6dd86f867947cbc1cdb5b65f72592ab.zip
Revert "Delay fetching of carddata and set ETag and size instead."
This reverts commit f5c329af981f59f78c12648ea41c258f477f3e82.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/lib/connector_sabre.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/contacts/lib/connector_sabre.php b/apps/contacts/lib/connector_sabre.php
index b712d9eed25..c967e906601 100644
--- a/apps/contacts/lib/connector_sabre.php
+++ b/apps/contacts/lib/connector_sabre.php
@@ -138,10 +138,8 @@ 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'] );
}