Hello,
l.717 of classes/dataset_manager.php call to get_all_mods
can be replaced by
$mods = get_fast_modinfo($courseorid)->get_cms();
$modnames = get_module_types_names();
$modnamesplural = get_module_types_names(true);
$modnamesused = get_fast_modinfo($courseorid)->get_used_module_names();
Hello, l.717 of classes/dataset_manager.php call to get_all_mods can be replaced by $mods = get_fast_modinfo($courseorid)->get_cms(); $modnames = get_module_types_names(); $modnamesplural = get_module_types_names(true); $modnamesused = get_fast_modinfo($courseorid)->get_used_module_names();
Sincerely