CRM-18193 - CRM_Logging_Differ - Improve interval checking
authorTim Otten <totten@civicrm.org>
Fri, 22 Apr 2016 22:12:49 +0000 (15:12 -0700)
committerEileen <eileen@fuzion.co.nz>
Sat, 23 Apr 2016 03:51:18 +0000 (03:51 +0000)
commitd32d065dbcfd0cfe8c12386661631a227970178c
tree7d8c26b60df6fbbcf487e4f37dc5e5beff61c2e6
parentbef3accd2ec05af4b0e739a94ba6b1765246f75e
CRM-18193 - CRM_Logging_Differ - Improve interval checking

a.  This validates the interval in the constructor.  Previously, there were
two different functions which consumed the interval, but only one of them
validated.

b.  My brain does not understand what it means to addslashes for an interval
expression. This validation is based on the docs from mysql.com.
CRM/Logging/Differ.php