Revert "chore: Add comment that notifies that cloning previous year staffing"

This reverts commit 95f8ada48d.
rpp-main
Nelson Jovel 2 years ago
parent 95f8ada48d
commit 44a7f54f2a

@ -127,9 +127,7 @@ class Seeder
StaffingLoader.load_data(filepath: csv_file)
missing_staffing_for_current_year = Respondent.where(academic_year: AcademicYear.order(:range).last).none? do |respondent|
respondent.total_teachers.present?
# This will also clone enrollment data from the previous year
end
StaffingLoader.clone_previous_year_data if missing_staffing_for_current_year
end

Loading…
Cancel
Save