]> git.mjollnir.org Git - moodle.git/commit
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This...
authortjhunt <tjhunt>
Fri, 25 Aug 2006 16:03:54 +0000 (16:03 +0000)
committertjhunt <tjhunt>
Fri, 25 Aug 2006 16:03:54 +0000 (16:03 +0000)
commitcd06115fa768043ce0610db22bc6e6e2ca2a2250
treef696365357235ca4b0dc451fe778ba2fe9409945
parent6ac7a65d76966344ed5bd8ec769199f7d2b2d4e5
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.

I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.

I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
mod/quiz/db/access.php [new file with mode: 0644]
mod/quiz/locallib.php
mod/quiz/report/grading/report.php
mod/quiz/review.php
mod/quiz/reviewquestion.php
mod/quiz/tabs.php
mod/quiz/version.php
mod/quiz/view.php