MDL-66225 Backup: fix irrecoverable state
authorMatt Porritt <mattp@catalyst-net.au>
Tue, 30 Jul 2019 02:35:48 +0000 (02:35 +0000)
committerMatt Porritt <mattp@catalyst-au.net>
Wed, 23 Oct 2019 04:20:00 +0000 (04:20 +0000)
commit698222f6cb935dd8c4ae1627cf39c9d9bf143047
treebbb0259ec6f5c2b697c97691ca6bdec9322f0e58
parent9f997f9bd7edc6ea0b4371804f9a78b84f866e51
MDL-66225 Backup: fix irrecoverable state

Fix condition where if an asynchronous backup
completes via the UI and the user refreshes the
page a new backup was created with a mismatched
backup id.
This caused a permanently failing ad-hoc task
and blocked further backups for that course.
backup/backup.php