<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
'logging/contribute/summary',
);
+ //CRM-13028 / NYSS-6933 - table => array (cols) - to be excluded from the update statement
+ private $exceptions = array(
+ 'civicrm_job' => array('last_run'),
+ 'civicrm_group' => array('cache_date'),
+ );
+
/**
* Populate $this->tables and $this->logs with current db state.
*/
$cond = array( );
foreach ($columns as $column) {
// ignore modified_date changes
- if ($column != 'modified_date') {
+ if ($column != 'modified_date' && !in_array($column, CRM_Utils_Array::value($table, $this->exceptions, array()))) {
$cond[] = "IFNULL(OLD.$column,'') <> IFNULL(NEW.$column,'')";
}
}