DEV: Remove code that is no longer valid. (PR #14657)

The vote post action type was removed in 96aca6d7e6dc3c05d761098a19f96b82d2783b1c

Follow-up to 96aca6d7e6dc3c05d761098a19f96b82d2783b1c.

GitHub