X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FHttpClient.php;h=c2d12ae18cffc677d923bd78b7b1c62a78147289;hb=aff94fcd1c5623e738c0f3358fc9f74f7e343e12;hp=c7989ec626842d935c381ed23a99e1107a0fee46;hpb=11b2e4a03f0fca2d8cf490fc2c9227b5b221f503;p=civicrm-core.git diff --git a/CRM/Utils/HttpClient.php b/CRM/Utils/HttpClient.php index c7989ec626..c2d12ae18c 100644 --- a/CRM/Utils/HttpClient.php +++ b/CRM/Utils/HttpClient.php @@ -117,7 +117,6 @@ class CRM_Utils_HttpClient { list($ch, $caConfig) = $this->createCurl($remoteFile); if (preg_match('/^https:/', $remoteFile) && !$caConfig->isEnableSSL()) { - // CRM_Core_Error::fatal('Cannot install this extension - does not support SSL'); return [self::STATUS_DL_ERROR, NULL]; } @@ -146,14 +145,12 @@ class CRM_Utils_HttpClient { public function post($remoteFile, $params) { // Download extension zip file ... if (!function_exists('curl_init')) { - //CRM_Core_Error::fatal('Cannot install this extension - curl is not installed!'); return [self::STATUS_DL_ERROR, NULL]; } list($ch, $caConfig) = $this->createCurl($remoteFile); if (preg_match('/^https:/', $remoteFile) && !$caConfig->isEnableSSL()) { - // CRM_Core_Error::fatal('Cannot install this extension - does not support SSL'); return [self::STATUS_DL_ERROR, NULL]; }