summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-14 06:52:38 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-14 06:52:38 +0000
commite58e676b7c15bb3f837f660f857d8e2a3e35f233 (patch)
tree81020c343def6c1b70a019dcba5d9973ddca00d1
parent541241a849944a06197c1294cbca1123a49521e3 (diff)
downloadredmine-e58e676b7c15bb3f837f660f857d8e2a3e35f233.tar.gz
redmine-e58e676b7c15bb3f837f660f857d8e2a3e35f233.zip
Removes a call to alias_method_chain.
git-svn-id: http://svn.redmine.org/redmine/trunk@15653 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb5
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