GitLab steht Mittwoch, den 08. Juli, zwischen 09:00 und 13:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

Commit 0fe80ac4 authored by jplang's avatar jplang

Removes a call to alias_method_chain.

git-svn-id: https://svn.redmine.org/redmine/trunk@15653 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7e9a030e
......@@ -41,7 +41,6 @@ module Redmine
module InstanceMethods
def self.included(base)
base.extend ClassMethods
base.send :alias_method_chain, :reload, :custom_fields
end
def available_custom_fields
......@@ -164,10 +163,10 @@ module Redmine
@custom_field_values_changed = true
end
def reload_with_custom_fields(*args)
def reload(*args)
@custom_field_values = nil
@custom_field_values_changed = false
reload_without_custom_fields(*args)
super
end
module ClassMethods
......
Markdown is supported
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