Deleted unnecessary code. Deleted has_capility moodle/course:uptdate because I think that the students should be write comments too.