lib/meibo/course_set.rb in meibo-0.16.0 vs lib/meibo/course_set.rb in meibo-0.17.0
- old
+ new
@@ -4,12 +4,10 @@
class CourseSet < DataSet
def check_semantically_consistent
super
each do |course|
- if course.school_year_sourced_id
- roster.academic_sessions.find(course.school_year_sourced_id)
- end
+ roster.academic_sessions.find(course.school_year_sourced_id) if course.school_year_sourced_id
roster.organizations.find(course.org_sourced_id)
end
end
end