From: Andrew Davis Date: Wed, 16 Dec 2009 00:52:57 +0000 (+0000) Subject: quiz MDL-18896 small efficiency improvement X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a6ffb8eeb8777ece11650dc24c0ff03ee13ab4c3;p=moodle.git quiz MDL-18896 small efficiency improvement --- diff --git a/mod/quiz/index.php b/mod/quiz/index.php index 2ea177d12f..6e0f77c42d 100644 --- a/mod/quiz/index.php +++ b/mod/quiz/index.php @@ -52,6 +52,9 @@ if (quiz_has_feedback($quiz)) { $showfeedback=true; } + if($showclosingheader && $showfeedback) { + break; + } } // Configure table for displaying the list of instances.