ManagedEntity - Add timestamp field to track user modifications
authorColeman Watts <coleman@civicrm.org>
Sat, 6 Nov 2021 20:33:20 +0000 (16:33 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 6 Nov 2021 20:33:20 +0000 (16:33 -0400)
commit69e13f9b242901e272e8bf7e05a4f6dc9c57d01c
tree7f42e0913d9805cbf7343c5c3e213de2ce2c082e
parenta2bf5923cd5bb6dedac554931190598e7a6b8f2e
ManagedEntity - Add timestamp field to track user modifications

This uses hooks to update a timestamp field whenever a managed record is
manually updated by a user, allowing us to know if a record is still in its
'pristine' managed state or if it has been altered.
CRM/Core/BAO/Managed.php
CRM/Core/DAO/Managed.php
CRM/Core/ManagedEntities.php
CRM/Upgrade/Incremental/php/FiveFortyFive.php
Civi/Api4/Service/Spec/Provider/ManagedEntitySpecProvider.php
tests/phpunit/api/v4/Entity/ManagedEntityTest.php
xml/schema/Core/Managed.xml