Permalink
Browse files

MDL-29464 quiz add random question popup does not update sumgrades.

  • Loading branch information...
1 parent 136fa79 commit 74ca90e5fb556cf44f4e1871194c5de625fb40a1 @timhunt timhunt committed Sep 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/quiz/addrandom.php
View
@@ -96,6 +96,8 @@
}
quiz_add_random_questions($quiz, $addonpage, $categoryid, 1, $includesubcategories);
+ quiz_delete_previews($quiz);
+ quiz_update_sumgrades($quiz);
redirect($returnurl);
}

0 comments on commit 74ca90e

Please sign in to comment.