dev/core#1762 Don't log subscription_history
authorJohn Kingsnorth <john@johnkingsnorth.co.uk>
Thu, 14 May 2020 08:27:55 +0000 (09:27 +0100)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 08:27:55 +0000 (09:27 +0100)
CRM/Logging/Schema.php

index 5d4ae83f83933a0ef95cfccc71a259c38d3bd634..183af4100ac696a62e314f46dcfcf4a1c56747e4 100644 (file)
@@ -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, []);