summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-16 09:56:31 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-16 09:56:31 +0100
commitb159c7f27404c639f06aac2d0188f0dd59575ff1 (patch)
tree06ac206cbd0220f26deb908d3eb4a1274cfc9bf5 /apps
parentc1a3394f485b566d83300173c364506d27059a59 (diff)
parent5855108e9b413c69b95dcd68972cac7f4f01f4cc (diff)
downloadnextcloud-server-b159c7f27404c639f06aac2d0188f0dd59575ff1.tar.gz
nextcloud-server-b159c7f27404c639f06aac2d0188f0dd59575ff1.zip
Merge pull request #14848 from owncloud/kill-curl-fallback-master
drop any fallback code related to curl
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/amazons3.php6
-rw-r--r--apps/files_external/lib/dropbox.php6
-rw-r--r--apps/files_external/lib/google.php6
-rw-r--r--apps/files_external/lib/swift.php6
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;
}
}