Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9d85b62
)
Merge branch 'MDL-28593' of git://github.com/timhunt/moodle
author
Sam Hemelryk
<sam@moodle.com>
Mon, 8 Aug 2011 03:04:19 +0000
(11:04 +0800)
committer
Sam Hemelryk
<sam@moodle.com>
Mon, 8 Aug 2011 03:04:19 +0000
(11:04 +0800)
mod/quiz/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/quiz/lib.php
b/mod/quiz/lib.php
index
cde3701
..
a81aa5e
100644
(file)
--- a/
mod/quiz/lib.php
+++ b/
mod/quiz/lib.php
@@
-588,6
+588,7
@@
function quiz_upgrade_grades() {
*/
function quiz_grade_item_update($quiz, $grades = null) {
global $CFG, $OUTPUT;
+ require_once($CFG->dirroot . '/mod/quiz/locallib.php');
require_once($CFG->libdir.'/gradelib.php');
if (array_key_exists('cmidnumber', $quiz)) { // may not be always present