summaryrefslogtreecommitdiff
path: root/plugins/libkolab/lib/kolab_format_configuration.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-12-05 12:20:34 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-12-05 12:20:34 (GMT)
commit815ab6596b1c219eb0c023c0ec73873796dc30da (patch)
tree41448a4a7d18b11438b106069d2d9ebbb6f152c4 /plugins/libkolab/lib/kolab_format_configuration.php
parent47700a1b3cce26735bece2ddcb5f6e8e8015603f (diff)
downloadroundcubemail-plugins-kolab-815ab6596b1c219eb0c023c0ec73873796dc30da.tar.gz
Fix Content-Type of configuration objects (#4029)
Diffstat (limited to 'plugins/libkolab/lib/kolab_format_configuration.php')
-rw-r--r--plugins/libkolab/lib/kolab_format_configuration.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/libkolab/lib/kolab_format_configuration.php b/plugins/libkolab/lib/kolab_format_configuration.php
index 4b06302..d9dac69 100644
--- a/plugins/libkolab/lib/kolab_format_configuration.php
+++ b/plugins/libkolab/lib/kolab_format_configuration.php
@@ -24,7 +24,7 @@
class kolab_format_configuration extends kolab_format
{
- public $CTYPE = 'application/x-vnd.kolab.configuration';
+ public $CTYPE = 'application/vnd.kolab+xml';
public $CTYPEv2 = 'application/x-vnd.kolab.configuration';
protected $objclass = 'Configuration';
@@ -126,7 +126,7 @@ class kolab_format_configuration extends kolab_format
}
// adjust content-type string
- $this->CTYPE = $this->CTYPEv2 = 'application/x-vnd.kolab.configuration.' . $object['type'];
+ $this->CTYPEv2 = 'application/x-vnd.kolab.configuration.' . $object['type'];
// cache this data
$this->data = $object;
@@ -222,7 +222,7 @@ class kolab_format_configuration extends kolab_format
// adjust content-type string
if ($object['type']) {
- $this->CTYPE = $this->CTYPEv2 = 'application/x-vnd.kolab.configuration.' . $object['type'];
+ $this->CTYPEv2 = 'application/x-vnd.kolab.configuration.' . $object['type'];
}
$this->data = $object;