Project: moodle
Issue MDL-42429: PHP notice regarding undefined property displayed when editing a lesson
# Add a lesson to a course. # Click to edit this lesson. # You will get a PHP notice "Notice: Undefined property: stdClass::$version in /var/www/mstorage/sm/moodle/mod/lesson/mod_form.php on line 321" displaying. It seems the global $module variable no longer stores the version. This check seems really unnecessary as we know the module version is not going to be less than what is stated. I am just removing it.
Story points: 5