mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-68983 cache: Fix bug with readonly session combined with lock debug
This commit is contained in:
parent
46f977a8bf
commit
57aed80df6
@ -1274,6 +1274,10 @@ class manager {
|
||||
return;
|
||||
}
|
||||
|
||||
if (defined('READ_ONLY_SESSION') && READ_ONLY_SESSION && !empty($CFG->enable_read_only_sessions)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$SESSION->recentsessionlocks = self::get_recent_session_locks();
|
||||
array_push($SESSION->recentsessionlocks, $sessionlock);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user