summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-12 20:37:14 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-12 20:37:14 +0100
commit68a7041348e592a8c8e35458a2355b0da2d99f79 (patch)
treeee1d865fce3ab1f4c8ec69b4d1362cb225684e46
parent23cc3cc5f2f42166c37fbe03fa62d3dd1dbfe5ed (diff)
parent00f5025ff1baec5bcb3622904fd6d1203be217b8 (diff)
downloadnextcloud-server-68a7041348e592a8c8e35458a2355b0da2d99f79.tar.gz
nextcloud-server-68a7041348e592a8c8e35458a2355b0da2d99f79.zip
Merge pull request #14838 from owncloud/add-curl-hard-dependency
Add cURL as hard-dependency
-rw-r--r--lib/private/util.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 72802409da9..11366d450a9 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -583,7 +583,7 @@ class OC_Util {
'DOMDocument' => 'dom',
'XMLWriter' => 'XMLWriter'
),
- 'functions' => array(
+ 'functions' => [
'xml_parser_create' => 'libxml',
'mb_detect_encoding' => 'mb multibyte',
'ctype_digit' => 'ctype',
@@ -592,8 +592,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'
),