From: Coleman Watts Date: Fri, 31 Aug 2018 16:36:53 +0000 (-0400) Subject: Show ext version status even when directory not writeable X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=698721fcddb29b205f3dcbdbdb21d8de70eca497;p=civicrm-core.git Show ext version status even when directory not writeable --- 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,