MDL-36806 question files: fix unnecessary require_login call.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 23 Nov 2012 15:54:58 +0000 (15:54 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 23 Nov 2012 15:56:46 +0000 (15:56 +0000)
commit36ab57f922217943ef27b776531d6578b06a9019
treece79f6614841074ad2fe3705003f90bf94a48b92
parent5f1d8f2a8f5dbe73e842157d7e24965d33217faa
MDL-36806 question files: fix unnecessary require_login call.

quiz_question_pluginfile later does the correct check. Doing this
other check first means you get an error about changing $PAGE->context.
lib/questionlib.php
question/previewlib.php