MDL-40061 mod_data: replaced 'record delete' add_to_log call with an event