CRM_Core_CodeGen_Reflection::needsUpdate() - Imitate DAO's check
authorTim Otten <totten@civicrm.org>
Thu, 28 Jul 2016 22:49:36 +0000 (15:49 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 28 Jul 2016 23:12:25 +0000 (16:12 -0700)
commit0f35babffcebe912a62d46704a0386a188bdbd52
tree7ab48bfbaab86eb1c574b32efbdc694f69f3420c
parentefc66e2cdcd3d24620d3bc9ecd8b07f58d50ebed
CRM_Core_CodeGen_Reflection::needsUpdate() - Imitate DAO's check

The old check was prone to false-positives if you make unrelated changes in
`CRM/Core/CodeGen/*` and false-negatives when some hacks the underlying
file.  It's now more diligent.
CRM/Core/CodeGen/BaseTask.php
CRM/Core/CodeGen/DAO.php
CRM/Core/CodeGen/Reflection.php