Merge branch 'master' of git.framasoft.org:agenda-libre/agenda-libre-ruby into rails5
This commit is contained in:
commit
c76c46a104
@ -16,7 +16,7 @@ class EventCallbacks
|
||||
def self.before_update(event)
|
||||
return unless event.will_save_change_to_moderated? && event.moderated?
|
||||
event.decision_time = Time.zone.now
|
||||
create_repeats event if event.repeat > 0 && event.rule
|
||||
create_repeats event if event.repeat.try(:positive?) && event.rule
|
||||
end
|
||||
|
||||
def self.after_update(event)
|
||||
|
Loading…
Reference in New Issue
Block a user