summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-03 17:17:44 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-03 17:17:44 +0200
commite3b9a861841f53dea810c1246ffa3cf809d0bfab (patch)
tree84f8fe485c4a3fdfba5c421ab549bcb3cea78f8b /apps
parentc6976d89a6fbfd59f966d676e23b39de62711b06 (diff)
downloadnextcloud-server-e3b9a861841f53dea810c1246ffa3cf809d0bfab.tar.gz
nextcloud-server-e3b9a861841f53dea810c1246ffa3cf809d0bfab.zip
remove duplicate method checkDependencies()
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/amazons3.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 352885121f9..2093fb7e58c 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -73,18 +73,6 @@ class AmazonS3 extends \OC\Files\Storage\Common {
}
}
- /**
- * check if curl is installed
- */
- public static function checkDependencies() {
- if (function_exists('curl_init')) {
- return true;
- } else {
- $l = new \OC_L10N('files_external');
- return $l->t('<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of Amazon S3 is not possible. Please ask your system administrator to install it.');
- }
- }
-
public function __construct($params) {
if (!isset($params['key']) || !isset($params['secret']) || !isset($params['bucket'])) {
throw new \Exception("Access Key, Secret and Bucket have to be configured.");