summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-11-09 12:57:54 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2012-11-09 12:57:54 (GMT)
commit79d71d07310fe88346cb22c33afebc04f336f33e (patch)
tree4f28a3772f9157412b292d5e6fc3436cd495e199
parent826f3f8ea39299a9c8e8cf105ec112ef32960c38 (diff)
downloadroundcubemail-plugins-kolab-79d71d07310fe88346cb22c33afebc04f336f33e.tar.gz
Always use Kolab format v3 for caching
-rw-r--r--plugins/libkolab/lib/kolab_storage_cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php
index 6d50bf9..9eac164 100644
--- a/plugins/libkolab/lib/kolab_storage_cache.php
+++ b/plugins/libkolab/lib/kolab_storage_cache.php
@@ -534,7 +534,7 @@ class kolab_storage_cache
}
if ($object['_formatobj']) {
- $sql_data['xml'] = preg_replace('!(</?[a-z0-9:-]+>)[\n\r\t\s]+!ms', '$1', (string)$object['_formatobj']->write());
+ $sql_data['xml'] = preg_replace('!(</?[a-z0-9:-]+>)[\n\r\t\s]+!ms', '$1', (string)$object['_formatobj']->write(3.0));
$sql_data['tags'] = ' ' . join(' ', $object['_formatobj']->get_tags()) . ' '; // pad with spaces for strict/prefix search
$sql_data['words'] = ' ' . join(' ', $object['_formatobj']->get_words()) . ' ';
}