Author: Mark Nelson
MDL-40054 mod_lesson: replaced 'end' add_to_log call with an event
http://git.moodle.org/gw?p=moodle.git;a=commit;h=00c027c7e32a1bd8dc43f72f1f9862eabcd4c2b3
http://github.com/moodle/moodle/commit/00c027c7e32a1bd8dc43f72f1f9862eabcd4c2b3
+ 2.7 en [eventlessonended,mod_lesson]