I want to have the link to Private files removed in the drawer menu. I have disabled Private Files, and I have set "Manage files on own private file areas" to "Prevent" for students. But still students can access their file area and upload files to it. - in the Boost theme, in Classic theme the Private Files link does not appear in the menu. If the students know the link to their private files, they can still manage their files using the Classic theme.
I am not alone, see Private files area available even when disabled, MDL-57551. According to this issue my problem is not a bug.