diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-12 21:43:41 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-12 21:43:41 +0100 |
commit | 5855108e9b413c69b95dcd68972cac7f4f01f4cc (patch) | |
tree | 999b505632dfdb59a7b0bcb335417115ede9b3e4 /apps/files_external/lib | |
parent | 68a7041348e592a8c8e35458a2355b0da2d99f79 (diff) | |
download | nextcloud-server-5855108e9b413c69b95dcd68972cac7f4f01f4cc.tar.gz nextcloud-server-5855108e9b413c69b95dcd68972cac7f4f01f4cc.zip |
drop any fallback code related to curl - refs https://github.com/owncloud/core/pull/14838#issuecomment-78586447
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/amazons3.php | 6 | ||||
-rw-r--r-- | apps/files_external/lib/dropbox.php | 6 | ||||
-rw-r--r-- | apps/files_external/lib/google.php | 6 | ||||
-rw-r--r-- | apps/files_external/lib/swift.php | 6 |
4 files changed, 4 insertions, 20 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index 4d94e3561f8..73345d30893 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -627,11 +627,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { * check if curl is installed */ public static function checkDependencies() { - if (function_exists('curl_init')) { - return true; - } else { - return array('curl'); - } + return true; } } diff --git a/apps/files_external/lib/dropbox.php b/apps/files_external/lib/dropbox.php index cc1e628f851..3dea8515b7b 100644 --- a/apps/files_external/lib/dropbox.php +++ b/apps/files_external/lib/dropbox.php @@ -316,11 +316,7 @@ class Dropbox extends \OC\Files\Storage\Common { * check if curl is installed */ public static function checkDependencies() { - if (function_exists('curl_init')) { - return true; - } else { - return array('curl'); - } + return true; } } diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php index bd9bdce2a67..92351bc0886 100644 --- a/apps/files_external/lib/google.php +++ b/apps/files_external/lib/google.php @@ -617,11 +617,7 @@ class Google extends \OC\Files\Storage\Common { * check if curl is installed */ public static function checkDependencies() { - if (function_exists('curl_init')) { - return true; - } else { - return array('curl'); - } + return true; } } diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php index 79effc04874..37f81313701 100644 --- a/apps/files_external/lib/swift.php +++ b/apps/files_external/lib/swift.php @@ -567,11 +567,7 @@ class Swift extends \OC\Files\Storage\Common { * check if curl is installed */ public static function checkDependencies() { - if (function_exists('curl_init')) { - return true; - } else { - return array('curl'); - } + return true; } } |