[Pkg-owncloud-commits] [owncloud] 37/118: Add cURL as hard-dependency

David Prévot taffit at moszumanska.debian.org
Fri Mar 27 22:13:10 UTC 2015


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

taffit pushed a commit to branch stable8
in repository owncloud.

commit 096ccb7a7b8882b97c61daf26d02a0ca4a67d84c
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Thu Mar 12 18:39:54 2015 +0100

    Add cURL as hard-dependency
    
    It is required by other functionalities such as S2S anyways and ownCloud will fail hard at a lot of places without it.
---
 lib/private/util.php | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/private/util.php b/lib/private/util.php
index 66574a5..f163648 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -577,7 +577,7 @@ class OC_Util {
 				'DOMDocument' => 'dom',
 				'XMLWriter' => 'XMLWriter'
 			),
-			'functions' => array(
+			'functions' => [
 				'xml_parser_create' => 'libxml',
 				'mb_detect_encoding' => 'mb multibyte',
 				'ctype_digit' => 'ctype',
@@ -586,8 +586,9 @@ class OC_Util {
 				'gzencode' => 'zlib',
 				'iconv' => 'iconv',
 				'simplexml_load_string' => 'SimpleXML',
-				'hash' => 'HASH Message Digest Framework'
-			),
+				'hash' => 'HASH Message Digest Framework',
+				'curl_init' => 'cURL',
+			],
 			'defined' => array(
 				'PDO::ATTR_DRIVER_NAME' => 'PDO'
 			)

-- 
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