OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove the double touch of meeting
Oliver Günther645c165257dd
diff --git a/modules/meeting/app/models/meeting_agenda_item.rb b/modules/meeting/app/models/meeting_agenda_item.rbindex 19faf42caa4..3f26a4c8221 100644--- a/modules/meeting/app/models/meeting_agenda_item.rb+++ b/modules/meeting/app/models/meeting_agenda_item.rb@@ -65,7 +65,6 @@ class MeetingAgendaItem < ApplicationRecordbefore_validation :add_to_latest_meeting_sectionafter_create :trigger_meeting_agenda_item_time_slots_calculation- after_save :touch_meetingafter_save :trigger_meeting_agenda_item_time_slots_calculation, if: Proc.new { |item|item.duration_in_minutes_previously_changed? || item.position_previously_changed?}@@ -90,10 +89,6 @@ class MeetingAgendaItem < ApplicationRecordmeeting.calculate_agenda_item_time_slotsend- def touch_meeting- meeting.touch- end-# def delete_meeting_section_if_empty# # we need to delete the last existing section if the last meeting agenda item is deleted# # as we don't render the section (including the section menu) if only one section exists