From 2ece4e26ca3b0e29e2d929606b98d7e3cfe2d7a9 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Thu, 11 Feb 2021 15:27:40 +0000 Subject: [PATCH] Remove check for safe_mode/open_basedir on extension downloader because it triggers false positives --- CRM/Extension/Downloader.php | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.25.1