From: Matthew Wire Date: Thu, 11 Feb 2021 15:27:40 +0000 (+0000) Subject: Remove check for safe_mode/open_basedir on extension downloader because it triggers... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2ece4e26ca3b0e29e2d929606b98d7e3cfe2d7a9;p=civicrm-core.git Remove check for safe_mode/open_basedir on extension downloader because it triggers false positives --- diff --git a/CRM/Extension/Downloader.php b/CRM/Extension/Downloader.php index a76ca105e1..76f4a120bd 100644 --- a/CRM/Extension/Downloader.php +++ b/CRM/Extension/Downloader.php @@ -71,11 +71,6 @@ class CRM_Extension_Downloader { ); } - if (empty($errors) && !CRM_Utils_HttpClient::singleton()->isRedirectSupported()) { - CRM_Core_Session::setStatus(ts('WARNING: The downloader may be unable to download files which require HTTP redirection. This may be a configuration issue with PHP\'s open_basedir or safe_mode.')); - Civi::log()->debug('WARNING: The downloader may be unable to download files which require HTTP redirection. This may be a configuration issue with PHP\'s open_basedir or safe_mode.'); - } - if ($extensionInfo) { $requiredExtensions = CRM_Extension_System::singleton()->getManager()->findInstallRequirements([$extensionInfo->key], $extensionInfo); foreach ($requiredExtensions as $extension) {