MDL-40054 mod_lesson: replaced 'grade view' add_to_log call with an event