MDL-56835 report_participation: release session lock

This commit is contained in:
Matt Porritt
2019-07-09 08:31:47 +08:00
committed by Mark Nelson
parent c88d732e39
commit fec1ffae54
+3
View File
@@ -31,6 +31,9 @@ require_once($CFG->dirroot.'/report/participation/locallib.php');
define('DEFAULT_PAGE_SIZE', 20);
define('SHOW_ALL_PAGE_SIZE', 5000);
// Release session lock.
\core\session\manager::write_close();
$id = required_param('id', PARAM_INT); // course id.
$roleid = optional_param('roleid', 0, PARAM_INT); // which role to show
$instanceid = optional_param('instanceid', 0, PARAM_INT); // instance we're looking at.