]> git.mjollnir.org Git - moodle.git/commitdiff
quiz editing: MDL-17294 removed unnecessary comment
authorpilpi <pilpi>
Fri, 28 Nov 2008 18:58:30 +0000 (18:58 +0000)
committerpilpi <pilpi>
Fri, 28 Nov 2008 18:58:30 +0000 (18:58 +0000)
mod/quiz/edit.php

index 29ec41811ce184f00e309b6ab4ef0f788058eb0f..2a4d96ab5f1e24187818f3ca01808de55ef16adc 100644 (file)
@@ -433,10 +433,6 @@ if (optional_param('savechanges', false, PARAM_BOOL) and confirm_sesskey()) {
     $rawgrades = (array) data_submitted();
     $moveonpagequestions = array();
     $moveselectedonpage=0;
-    //TODO: Tim: since we are not submitting all of the grades at once in quiz
-    // UI redesign, we cannot unset it since then we could not display it.
-    //Is there really a need to get rid of the old data here?
-    //unset($quiz->grades);
     $moveselectedonpagetop=optional_param("moveselectedonpagetop",0,PARAM_INT);
     $moveselectedonpagebottom=optional_param("moveselectedonpagebottom",0,
             PARAM_INT);