I assume it worked, so that means there’s presumably nothing wrong with your implementation.
So here’s a little bit of information about that setting:
It only suppresses the in-reply-to UI for posts that are direct replies to other posts.
if you hit the reply button on a post, and there are no posts between your new reply and the post you’re replying to, Discourse will not show this by default
If you leave the setting on, non-direct replies will still show it, like so
So, the first reply to a post won’t show the in-reply-to UI, but consequent replies will.

