From 3292d0797220f1051decc83698a29a48048c9c98 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Fri, 9 May 2014 15:06:46 -0400 Subject: [PATCH] CRM-14672 exclude _menu table from logging triggers --- CRM/Logging/Schema.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 9abdd925b6..c05b3ce272 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -70,13 +70,14 @@ AND TABLE_NAME LIKE 'civicrm_%' $this->tables[] = $dao->TABLE_NAME; } - // do not log temp import, cache and log tables + // do not log temp import, cache, menu and log tables $this->tables = preg_grep('/^civicrm_import_job_/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/_cache$/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/_log/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/^civicrm_task_action_temp_/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/^civicrm_export_temp_/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/^civicrm_queue_/', $this->tables, PREG_GREP_INVERT); + $this->tables = preg_grep('/^civicrm_menu/', $this->tables, PREG_GREP_INVERT); //CRM-14672 // do not log civicrm_mailing_event* tables, CRM-12300 $this->tables = preg_grep('/^civicrm_mailing_event_/', $this->tables, PREG_GREP_INVERT); -- 2.25.1