[Pkg-owncloud-commits] [owncloud] 64/74: Check for XMLWriter class

David Prévot taffit at moszumanska.debian.org
Tue Dec 2 22:04:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 85b7ee349b92fb201abb9e69505caabe6285688f
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Fri Nov 28 15:40:11 2014 +0100

    Check for XMLWriter class
    
    Backport of https://github.com/owncloud/core/pull/12321
---
 lib/private/util.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/private/util.php b/lib/private/util.php
index 08de46b..2642a71 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -497,6 +497,13 @@ class OC_Util {
 			);
 			$webServerRestart = true;
 		}
+		if(!class_exists('XMLWriter')) {
+			$errors[] = array(
+				'error'=> $l->t('PHP module %s not installed.', array('XMLWriter')),
+				'hint'=>$moduleHint
+			);
+			$webServerRestart = true;
+		}		
 		if(!class_exists('DOMDocument')) {
 			$errors[] = array(
 				'error'=> $l->t('PHP module %s not installed.', array('dom')),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list