From 698721fcddb29b205f3dcbdbdb21d8de70eca497 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 31 Aug 2018 12:36:53 -0400 Subject: [PATCH 1/1] Show ext version status even when directory not writeable --- CRM/Utils/Check/Component/Env.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CRM/Utils/Check/Component/Env.php b/CRM/Utils/Check/Component/Env.php index 592a306a33..0c44427fe6 100644 --- a/CRM/Utils/Check/Component/Env.php +++ b/CRM/Utils/Check/Component/Env.php @@ -568,26 +568,24 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component { } elseif (!is_writable($basedir)) { $messages[] = new CRM_Utils_Check_Message( - __FUNCTION__, + __FUNCTION__ . 'Writable', ts('Your extensions directory (%1) is read-only. If you would like to perform downloads or upgrades, then change the file permissions.', array(1 => $basedir)), ts('Read-Only Extensions'), \Psr\Log\LogLevel::WARNING, 'fa-plug' ); - return $messages; } if (empty($extensionSystem->getDefaultContainer()->baseUrl)) { $messages[] = new CRM_Utils_Check_Message( - __FUNCTION__, + __FUNCTION__ . 'URL', ts('The extensions URL is not properly set. Please go to the URL setting page and correct it.', array(1 => CRM_Utils_System::url('civicrm/admin/setting/url', 'reset=1'))), ts('Extensions url missing'), \Psr\Log\LogLevel::ERROR, 'fa-plug' ); - return $messages; } if (!$extensionSystem->getBrowser()->isEnabled()) { @@ -688,7 +686,7 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component { if ($errors) { $messages[] = new CRM_Utils_Check_Message( - __FUNCTION__, + __FUNCTION__ . 'Error', '', ts('Extension Error'), \Psr\Log\LogLevel::ERROR, -- 2.25.1