Commit 51f18904 authored by mattwire's avatar mattwire
Browse files

Improve checks

parent 6c0da4cd
......@@ -59,12 +59,10 @@ class CRM_Mjwshared_Check {
private function requireExtensionMinVersion($extensionName, $minVersion, $actualVersion) {
if (substr($actualVersion, -4) === '-dev') {
$message = new CRM_Utils_Check_Message(
__FUNCTION__ . $extensionName . E::SHORT_NAME . '_requirements',
__FUNCTION__ . $extensionName . E::SHORT_NAME . '_requirements_dev',
E::ts('You are using a development version of %1 extension.',
[
1 => $extensionName,
]),
E::ts('%1: Development version', [1 => ucfirst(E::SHORT_NAME)]),
[1 => $extensionName]),
E::ts('%1: Development version', [1 => $extensionName]),
\Psr\Log\LogLevel::WARNING,
'fa-code'
);
......
{htxt id="full_name"}
{ts}The contact name should be divided in two parts, the first name and last name.{/ts}
{/htxt}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment