MDL-52252 core_course: removed unused variables
authorMark Nelson <markn@moodle.com>
Thu, 10 Mar 2016 03:13:53 +0000 (11:13 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 10 Mar 2016 12:17:11 +0000 (13:17 +0100)
commit9621d5a7aeb0ab400369432ef7f336a57dd61bd1
tree6d8c3570b398dec58af5c0b57cd065d5db55af48
parent6b046555732d2142131e4adeac5f902bb7a7e644
MDL-52252 core_course: removed unused variables

The call to 'context_coursecat::instance($COURSE->category);'
was causing Moodle to throw an exception due to non-existent
category.
course/moodleform_mod.php