Forgot to take out duplicate question count check.

Merged from STABLE_18
This commit is contained in:
thepurpleblob 2007-09-17 11:01:53 +00:00
parent 2c6d2c888c
commit 8cc7d98a31

View file

@ -589,10 +589,6 @@ class qformat_default {
$questions = get_questions_category( $this->category, true ); $questions = get_questions_category( $this->category, true );
notify( get_string('exportingquestions','quiz') ); notify( get_string('exportingquestions','quiz') );
if (!count($questions)) {
notify( get_string('noquestions','quiz') );
return false;
}
$count = 0; $count = 0;
// results are first written into string (and then to a file) // results are first written into string (and then to a file)