mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-81192_main' of https://github.com/marxjohnson/moodle
This commit is contained in:
commit
601ef0f72d
@ -89,7 +89,9 @@ class manager {
|
||||
public static function restart_with_write_lock(bool $readonlysession) {
|
||||
global $CFG;
|
||||
|
||||
self::$requireslockdebug = !$readonlysession;
|
||||
if (!empty($CFG->enable_read_only_sessions_debug)) {
|
||||
self::$requireslockdebug = !$readonlysession;
|
||||
}
|
||||
|
||||
if (self::$sessionactive && !self::$handler->requires_write_lock()) {
|
||||
@self::$handler->abort();
|
||||
|
Loading…
x
Reference in New Issue
Block a user