]> source.dussan.org Git - redmine.git/commitdiff
Removes a call to alias_method_chain.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 14 Jul 2016 06:52:38 +0000 (06:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 14 Jul 2016 06:52:38 +0000 (06:52 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15653 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb

index 050e442b47433e9d53a800eb400966c42436a3d4..f9da79c2282f15b702e24324ada5f221b215cae7 100644 (file)
@@ -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