cleanup: remove unused function declaration

This got introduced when the actual submission logic got moved to an extra file.
Composer: make it possible to paste as a quoted text

REVIEW: 111860