mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-31 12:49:38 +00:00
Removes a call to alias_method_chain.
git-svn-id: http://svn.redmine.org/redmine/trunk@15653 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
541241a849
commit
e58e676b7c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user