Skip to content
Snippets Groups Projects
Commit 414e2a21 authored by Matt Petro's avatar Matt Petro
Browse files

UWMOODLE-1231 Release session lock

Release session lock when querying user's courses across UW Moodle
sites.  This will prevent a slow remote site from locking-up moodle.
parent 91f1f33f
Branches master
No related tags found
No related merge requests found
......@@ -38,6 +38,8 @@ $response->message = 'invalidrequest';
$PAGE->set_context(context_system::instance());
// Unlock session during potentially long webservice requests.
\core\session\manager::write_close();
if(confirm_sesskey()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment