summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-02-23 17:20:03 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-02-23 17:20:03 +0100
commit95fe15991429f915dbb66be53562f9f540a8b1be (patch)
treef3a6a3688bc9cd11d85624789fd2dc75b43ac09c /lib
parentd3e6ea6ac000e6276c70c988237f7e8c548d2881 (diff)
downloadnextcloud-server-95fe15991429f915dbb66be53562f9f540a8b1be.tar.gz
nextcloud-server-95fe15991429f915dbb66be53562f9f540a8b1be.zip
make lib/vobject.php work with sabredav 1.6
Diffstat (limited to 'lib')
-rw-r--r--lib/vobject.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vobject.php b/lib/vobject.php
index e3479fc6d36..2b1f6534cc4 100644
--- a/lib/vobject.php
+++ b/lib/vobject.php
@@ -41,7 +41,7 @@ class OC_VObject{
*/
public static function parse($data){
try {
- Sabre_VObject_Reader::$elementMap['LAST-MODIFIED'] = 'Sabre_VObject_Element_DateTime';
+ Sabre_VObject_Property::$classMap['LAST-MODIFIED'] = 'Sabre_VObject_Element_DateTime';
$vobject = Sabre_VObject_Reader::read($data);
if ($vobject instanceof Sabre_VObject_Component){
$vobject = new OC_VObject($vobject);