MDL-34905 quiz: missing global $DB;
authorTim Hunt <T.J.Hunt@open.ac.uk>
Wed, 15 Aug 2012 09:25:25 +0000 (10:25 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Wed, 15 Aug 2012 09:32:56 +0000 (10:32 +0100)
commit2a077c0d1b1952cf1466c1585de4ab69bd3daf8b
treed9f48e8cdd38db0455f2e75e7a52b948f83a2482
parente6aac11d943c0d689a9cf8b2c9b5bd92148243bf
MDL-34905 quiz: missing global $DB;

This code normally only runs when JS is disabled, which is why this was
not noticed before.
mod/quiz/attemptlib.php