mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-81611 assign: Close session early in gradingpanel fragment
This commit is contained in:
parent
792698af00
commit
7cc089a457
@ -1400,6 +1400,8 @@ function assign_pluginfile($course,
|
||||
function mod_assign_output_fragment_gradingpanel($args) {
|
||||
global $CFG;
|
||||
|
||||
\core\session\manager::write_close(); // No changes to session in this function.
|
||||
|
||||
$context = $args['context'];
|
||||
|
||||
if ($context->contextlevel != CONTEXT_MODULE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user