I had tried that and it didn't make a difference. Twitter and Facebook still show up as options when sharing badges, etc. I've also restarted the server just in case a configuration file had to be reloaded.
Have you been able to remove the social media references from your site this way? I wonder what I'm doing wrong.