From: eileen Date: Fri, 14 Feb 2020 11:22:54 +0000 (+1300) Subject: Remove reference to mysql 5.0 & 5.1 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c49c70674eb7228e5de7049b9fd1001103c649f6;p=civicrm-core.git Remove reference to mysql 5.0 & 5.1 Subset of https://github.com/civicrm/civicrm-core/pull/16084 --- diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 9a8e7133a2..cd8ee48acb 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -75,7 +75,7 @@ class CRM_Logging_Schema { $domain = new CRM_Core_DAO_Domain(); $domain->find(TRUE); if (!(CRM_Core_DAO::checkTriggerViewPermission(FALSE)) && $value) { - throw new API_Exception("In order to use this functionality, the installation's database user must have privileges to create triggers (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled."); + throw new API_Exception(ts("In order to use this functionality, the installation's database user must have privileges to create triggers and views (if binary logging is enabled – this means the SUPER privilege). This install does not have the required privilege(s) enabled.")); } return TRUE; } diff --git a/templates/CRM/Admin/Form/Setting/Localization.tpl b/templates/CRM/Admin/Form/Setting/Localization.tpl index 9f244ff367..ce5c162e08 100644 --- a/templates/CRM/Admin/Form/Setting/Localization.tpl +++ b/templates/CRM/Admin/Form/Setting/Localization.tpl @@ -124,7 +124,7 @@ {else} - {ts}In order to use this functionality, the installation's database user must have privileges to create triggers and views (in MySQL 5.0 – and in MySQL 5.1 if binary logging is enabled – this means the SUPER privilege). This install either does not seem to have the required privilege enabled.{/ts} {ts}(Multilingual support currently cannot be enabled on installations with enabled logging.){/ts}

+ {ts}In order to use this functionality, the installation's database user must have privileges to create triggers and views (if binary logging is enabled – this means the SUPER privilege). This install does not have the required privilege(s) enabled.{/ts} {ts}(Multilingual support currently cannot be enabled on installations with enabled logging.){/ts}

{$warning} {/if}