mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
Prior to this patch the debugging mode (when enabled) would trigger on everywhere, regardless of whether or not READ_ONLY_SESSION is defined. This patch modifies that behaviour so that the debugging only kicks in if READ_ONLY_SESSION is defined and set to true.