learning-unlimited/ESP-Website — pull request #575 by shulinye (2013-02-07 01:29:02+00:00)
Title: Rejected classes can be removed from getTaughtSections and similar funct...

...ions.

Inserted include_rejected as a boolean for various functions in order to Do This Properly, goddammit.

(in particular - before, rejected classes/sections counted in the total number of hours a teacher was trying to teach for a program, so if a teacher asked us to, say, reject a class, and then signed up for more classes, that with the rejected class exceeded the number of hours of the program, it would tell them they were teaching more than the hours of a program except that that wasn't actually the case.)