From 9a1673c79d7f57c76d1e85acc0cd0e05a57f4467 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Thu, 20 Nov 2014 13:13:14 +0100
Subject: [PATCH] Check for XMLWriter class

This is not installed by default in all cases and will break the DAV features of ownCloud. Lot's of reports such as https://github.com/owncloud/ios-issues/issues/167#issuecomment-63798507
---
 lib/private/util.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/util.php b/lib/private/util.php
index bee0a57919..4190f0aa3d 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -562,6 +562,7 @@ class OC_Util {
 			'classes' => array(
 				'ZipArchive' => 'zip',
 				'DOMDocument' => 'dom',
+				'XMLWriter' => 'XMLWriter'
 			),
 			'functions' => array(
 				'xml_parser_create' => 'libxml',
-- 
GitLab