MDL-45052 events: Cleanup db/events.php