From: Donald A. Lobo Date: Mon, 8 Apr 2013 21:50:35 +0000 (-0700) Subject: CRM-12300 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f9b793b0cf4f1848160a202af7aeac8410217c4c;p=civicrm-core.git CRM-12300 ---------------------------------------- * CRM-12300: Do no log civicrm_mailing_event_* tables http://issues.civicrm.org/jira/browse/CRM-12300 --- diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index b8ca79fa03..d81002f527 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -71,6 +71,9 @@ AND TABLE_NAME LIKE 'civicrm_%' $this->tables = preg_grep('/^civicrm_export_temp_/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/^civicrm_queue_/', $this->tables, PREG_GREP_INVERT); + // do not log civicrm_mailing_event* tables, CRM-12300 + $this->tables = preg_grep('/^civicrm_mailing_event_/', $this->tables, PREG_GREP_INVERT); + $dsn = defined('CIVICRM_LOGGING_DSN') ? DB::parseDSN(CIVICRM_LOGGING_DSN) : DB::parseDSN(CIVICRM_DSN); $this->db = $dsn['database'];