Verified Commit c0a5c71d authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

remove duplicate method

parent b0b75bb0
Pipeline #13950 passed with stage
in 29 minutes and 22 seconds
...@@ -113,10 +113,6 @@ module GroupAssignmentAndAssignmentCommon ...@@ -113,10 +113,6 @@ module GroupAssignmentAndAssignmentCommon
ending? && period_end <= Time.zone.today ending? && period_end <= Time.zone.today
end end
def ending?
period_start.present? && period_end.present?
end
def no_period? def no_period?
period_start.blank? && period_end.blank? period_start.blank? && period_end.blank?
end end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment