summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb b/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb
index d59c89110..e840770a3 100644
--- a/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb
+++ b/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb
@@ -33,7 +33,6 @@ module Redmine
:order => "#{Attachment.table_name}.created_on",
:dependent => :destroy)
attr_accessor :unsaved_attachments
- after_initialize :initialize_unsaved_attachments
send :include, Redmine::Acts::Attachable::InstanceMethods
end
end
@@ -53,10 +52,6 @@ module Redmine
user.allowed_to?(self.class.attachable_options[:delete_permission], self.project)
end
- def initialize_unsaved_attachments
- @unsaved_attachments ||= []
- end
-
module ClassMethods
end
end