Old submit_events function removed

Fixes: 852