Skip to content

Commit

Permalink
Don't throw a warning when public ext directory isn't found
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaphoneJon committed Sep 25, 2020
1 parent 73b7c26 commit c73d08e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions CRM/Utils/Check/Component/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -600,20 +600,6 @@ public function checkExtensions() {
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(),
]) . '<br />' . 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 = [];
Expand Down

0 comments on commit c73d08e

Please sign in to comment.