MDL-50516 mod_lesson: prevented deletion of previous attempts
commitd60350ddac0a5923fd997c25c0144383445c2fad
authorMark Nelson <markn@moodle.com>
Thu, 13 Aug 2015 20:36:40 +0000 (13 13:36 -0700)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 9 Sep 2015 07:27:23 +0000 (9 15:27 +0800)
treeb274b9f238c49b49ca997fb06eeadb3eacf0cb2f
parent0dea8ed76a685bf0401994d38f06ecafa6f98c29
MDL-50516 mod_lesson: prevented deletion of previous attempts

The 'startlastseen' flag was removing any previous attempts
the user had from the DB. This meant that the user could
simply re-answer the question, regardless of the number
of attempts allowed.
mod/lesson/view.php