]> git.mjollnir.org Git - moodle.git/commit
MDL-10376 - since roles and capabilities came along, the quiz was not very gracious...
authortjhunt <tjhunt>
Thu, 20 Sep 2007 15:14:24 +0000 (15:14 +0000)
committertjhunt <tjhunt>
Thu, 20 Sep 2007 15:14:24 +0000 (15:14 +0000)
commite63faf2b500cbccd5ad6f7ba5d2f3e4ea1efafec
tree5820e49506f2cb3474843b7d38f9036083348a34
parentc5ccb82c614578e1cf51a6cdf7d1608c5b4af4df
MDL-10376 - since roles and capabilities came along, the quiz was not very gracious if you were logged in as guest, or really logged in on the server, but using guest access to look a a particular course, or were enrolled in a course, but in a role that did not let you preview or attempt quizzes. This patch should clean up the logic for all these cases.
lang/en_utf8/quiz.php
mod/quiz/attempt.php
mod/quiz/view.php