03c4de78ae
Previously, $CFG->sessionlockdebug was reporting long session locks for all requests, even if they defined READ_ONLY_SESSION. This change ensures that only sessions with locks are reported.