catalyst / moodle-mod_subcourse

Subcourse module for Moodle
https://moodle.org/plugins/mod_subcourse
GNU General Public License v3.0
24 stars 41 forks source link

coursecatlib has been removed from M3.10 #49

Closed dasistwas closed 3 years ago

dasistwas commented 3 years ago

The library is still used in the version declared compatible with Moodle 3.10:

./subcourse/mod_form.php: require_once($CFG->libdir.'/coursecatlib.php');

mudrd8mz commented 3 years ago

Thanks David. Technically, the library is not used - that part of code only gets loaded in Moodle versions 3.5 and lower:

https://github.com/mudrd8mz/moodle-mod_subcourse/blob/d1d0c8e0a2d8b8299ab49ab30d657d1074a779b9/mod_form.php#L124-L129

But I agree it can be removed now as 3.9 is required.