MDL-57649 mod_lesson: Delete answer files correctly.
commit734fb0f01547e590ebe270bd47334f71d4c9267d
authorAdrian Greeve <adrian@moodle.com>
Thu, 13 Jul 2017 04:30:35 +0000 (13 12:30 +0800)
committerAdrian Greeve <adrian@moodle.com>
Mon, 17 Jul 2017 01:20:40 +0000 (17 09:20 +0800)
tree835d7bd6ce2e23b9fd29b872714fac7647954b2e
parentab4afd711a526215805e526d6b0a7c9bf5b40958
MDL-57649 mod_lesson: Delete answer files correctly.

The files associated with answers and responses were
not being deleted due to the fact that the wrong itemid
was being used.
mod/lesson/db/upgrade.php
mod/lesson/locallib.php
mod/lesson/version.php