// 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, []);
*/
public function getLogTablesForContact() {
$tables = array_keys(CRM_Core_DAO::getReferencesToContactTable());
+ // This additional hardcoding has been moved from getReferencesToContactTable
+ // to here as it is not needed in the other place where the function is called.
+ // It may not be needed here either...
+ $tables[] = 'civicrm_entity_tag';
return array_intersect($tables, $this->tables);
}