From d0cef561f0dffd7d0369a26d3903339de89a4384 Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Thu, 16 Apr 2015 16:46:43 +0530 Subject: [PATCH] CRM-16193 - Do not log civicrm_mailing_recipients table https://issues.civicrm.org/jira/browse/CRM-16193 --- CRM/Logging/Schema.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 25c6d4478d..4753fd31e9 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -81,6 +81,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); + // do not log civicrm_mailing_recipients table, CRM-16193 + $this->tables = array_diff($this->tables, array('civicrm_mailing_recipients')); + if (defined('CIVICRM_LOGGING_DSN')) { $dsn = DB::parseDSN(CIVICRM_LOGGING_DSN); $this->useDBPrefix = (CIVICRM_LOGGING_DSN != CIVICRM_DSN); -- 2.25.1