mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
8a386d68f6
moodle_database::commit_delegated_transaction() calls core\event\manager::database_transaction_commited() which may invoke events that do database reads. This change adjusts tables last written time in moodle_read_slave_trait *before* calling moodle_database::commit_delegated_transaction().