MDL-34397 removing references to course.modinfo