How to permanently delete pages and attachments in XWiki?

Hi all!
Is there a way to delete permanently all the pages ever created in XWiki i.e. visible in http://localhost:8080/xwiki/bin/view/Main/AllDocs?view=deletedDocs?

Yeah, I think we’re missing a UI button for this.

As a workaround you could try http://snippets.xwiki.org/xwiki/bin/view/Extension/Empty%20Trash%20Bin This snippet is a bit oldish but hopefully it still works.