It's not your course. Unless the theoretical framework is, "Kill all the ________'s", support the course or leave.
I agree with this, although I would probably modify it just to say EVEN IF "the theoretical framework is "Kill all the ______'s," support the course or leave."
If the theoretical framework really and truly is as bad as you say, then have you considered that teaching there will stamp you forever as A Guy Who Taught Students In Screwy Department X? If you really are teaching a class in Advanced Phrenology, then how good is that going to look on your CV anyway when you apply to legitimate schools? On the other hand, if you are complaining because the course is modeled on Psychoanalytic Theory, and you were trained as a Behaviorist, then maybe your graduate school did you a disservice by failing to teach you to think critically about alternative viewpoints.