diff options
-rw-r--r-- | lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb b/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb index 050e442b4..f9da79c22 100644 --- a/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb +++ b/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb @@ -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 |