From 45e181f154eed853b998c1d68e6c978d2bdd5de1 Mon Sep 17 00:00:00 2001 From: John Kingsnorth Date: Thu, 14 May 2020 09:27:55 +0100 Subject: [PATCH] dev/core#1762 Don't log subscription_history --- CRM/Logging/Schema.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 5d4ae83f83..183af4100a 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -142,6 +142,9 @@ AND TABLE_NAME LIKE 'civicrm_%' // do not log civicrm_mailing_event* tables, CRM-12300 $this->tables = preg_grep('/^civicrm_mailing_event_/', $this->tables, PREG_GREP_INVERT); + // dev/core#1762 Don't log subscription_history + $this->tables = preg_grep('/^civicrm_subscription_history/', $this->tables, PREG_GREP_INVERT); + // do not log civicrm_mailing_recipients table, CRM-16193 $this->tables = array_diff($this->tables, ['civicrm_mailing_recipients']); $this->logTableSpec = array_fill_keys($this->tables, []); -- 2.25.1