From 5855108e9b413c69b95dcd68972cac7f4f01f4cc Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Thu, 12 Mar 2015 21:43:41 +0100 Subject: drop any fallback code related to curl - refs https://github.com/owncloud/core/pull/14838#issuecomment-78586447 --- apps/files_external/lib/amazons3.php | 6 +----- apps/files_external/lib/dropbox.php | 6 +----- apps/files_external/lib/google.php | 6 +----- apps/files_external/lib/swift.php | 6 +----- 4 files changed, 4 insertions(+), 20 deletions(-) (limited to 'apps/files_external/lib') 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; } } -- cgit v1.2.3