From e3b9a861841f53dea810c1246ffa3cf809d0bfab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 3 Apr 2014 17:17:44 +0200 Subject: [PATCH] remove duplicate method checkDependencies() --- apps/files_external/lib/amazons3.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index 352885121f..2093fb7e58 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('Note: 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.");