DEV: removes dead code (PR #8130)

Couldn’t find where this code is being used. So far it seems that this has been superseed by:

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/widgets/post-menu.js.es6#L399

Which I also quickly refactor in this PR

GitHub

You’ve signed the CLA, jjaffeux. Thank you! This pull request is ready for review.

This is a nice trick! :+1:

1 Like