[ticket/11785] Revert PR that added _listener to template events

PHPBB3-11785