[Confluence] remove unused code