mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
making grabbing grades from 3rd party mods run 20% of the time
This commit is contained in:
parent
48b8bba944
commit
7ea9b0953d
@ -260,6 +260,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// attemps to grab grades from third party/non-stard mods, or mods with no event
|
||||
// implemented for 1.9 and above.
|
||||
mtrace("Grabbing grades from modules if required...");
|
||||
include_once($CFG->dirroot.'/lib/gradelib.php');
|
||||
grades_grab_grades();
|
||||
|
||||
} // End of occasional clean-up tasks
|
||||
|
||||
@ -380,12 +386,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// attemps to grab grades from third party/non-stard mods, or mods with no event
|
||||
// implemented for 1.9 and above.
|
||||
mtrace("Grabbing grades from modules if required...");
|
||||
include_once($CFG->dirroot.'/lib/gradelib.php');
|
||||
grades_grab_grades();
|
||||
|
||||
//Unset session variables and destroy it
|
||||
@session_unset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user