Disabling the discussion tab
To disable the Discussion tab, go in the studio of the course, click on Content and then on Pages.
Click on the eye icone on the Discussion line to disable the option in your course.
If it is disabled, the eye icone should look similar to the one on the Wiki line.