1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Ruby 3.0: Fix super calls (#34992, #34986).

Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20912 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-04-03 09:01:53 +00:00
parent b89cb894eb
commit 83e22515b9
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ class Issue < ActiveRecord::Base
end
def create_or_update(*args)
super
super()
ensure
@status_was = nil
end

View File

@ -97,7 +97,7 @@ class Journal < ActiveRecord::Base
def save(*args)
journalize_changes
# Do not save an empty journal
(details.empty? && notes.blank?) ? false : super
(details.empty? && notes.blank?) ? false : super()
end
# Returns journal details that are visible to user