foreach ($checks as $check) {
$messages = array_merge($messages, $check->checkAll());
}
+
+ CRM_Utils_Hook::check($messages);
+
return $messages;
}
);
}
+ /**
+ * Check system status.
+ *
+ * @param array $messages
+ * Array<CRM_Utils_Check_Message>. A list of messages regarding system status.
+ * @return mixed
+ */
+ public static function check(&$messages) {
+ return self::singleton()
+ ->invoke(1, $messages, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_check');
+ }
+
}