Indentation fix
authorColeman Watts <coleman@civicrm.org>
Wed, 18 Nov 2015 22:29:58 +0000 (17:29 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 18 Nov 2015 22:29:58 +0000 (17:29 -0500)
CRM/Utils/Check/Env.php

index 6b86338207c2b5c9a58a921bca304c0db7071d98..9e1aaaef48e9b2d356cb3d11addc179149b4fc42 100644 (file)
@@ -505,7 +505,7 @@ class CRM_Utils_Check_Env {
     }
 
     if (!$okextensions && !$updates && !$errors) {
-      return array(new CRM_Utils_Check_Message(
+      $messages[] = new CRM_Utils_Check_Message(
         'extensionsOk',
         ts('No extensions installed. <a %1>Browse available extensions</a>.', array(
           1 => 'href="' . CRM_Utils_System::url('civicrm/admin/extensions', 'reset=1') . '"',
@@ -513,7 +513,7 @@ class CRM_Utils_Check_Env {
         ts('Extensions'),
         \Psr\Log\LogLevel::INFO,
         'fa-plug'
-      ));
+      );
     }
 
     if ($errors) {