From c73d08ef6f885f608523797556719c7856526776 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Fri, 25 Sep 2020 16:21:30 -0400 Subject: [PATCH] Don't throw a warning when public ext directory isn't found --- CRM/Utils/Check/Component/Env.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CRM/Utils/Check/Component/Env.php b/CRM/Utils/Check/Component/Env.php index 7c57df65fd..29e0a2fd6a 100644 --- a/CRM/Utils/Check/Component/Env.php +++ b/CRM/Utils/Check/Component/Env.php @@ -600,20 +600,6 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component { return $messages; } - if (!$remotes) { - // CRM-13141 There may not be any compatible extensions available for the requested CiviCRM version + CMS. If so, $extdir is empty so just return a notice. - $messages[] = new CRM_Utils_Check_Message( - __FUNCTION__, - ts('There are currently no extensions on the CiviCRM public extension directory which are compatible with version %1. If you want to install an extension which is not marked as compatible, you may be able to download and install extensions manually (depending on access to your web server).', [ - 1 => CRM_Utils_System::majorVersion(), - ]) . '
' . CRM_Utils_System::docURL2('sysadmin/customize/extensions/#installing-a-new-extension'), - ts('No Extensions Available for this Version'), - \Psr\Log\LogLevel::NOTICE, - 'fa-plug' - ); - return $messages; - } - $keys = array_keys($manager->getStatuses()); sort($keys); $updates = $errors = $okextensions = []; -- 2.25.1