diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-28 11:14:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-28 11:14:16 +0000 |
commit | 584fbc8f8b52ceed79836d8b2f877d34dcc1e638 (patch) | |
tree | 2063e8dd036cb503b88843669ff90c9ac747cc12 | |
parent | 5985713335eb8579c1df1bee271c6e350797c172 (diff) | |
download | redmine-584fbc8f8b52ceed79836d8b2f877d34dcc1e638.tar.gz redmine-584fbc8f8b52ceed79836d8b2f877d34dcc1e638.zip |
Fix no longer required with Rails 3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9563 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/attachment.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/models/attachment.rb b/app/models/attachment.rb index a6351da67..c641f3006 100644 --- a/app/models/attachment.rb +++ b/app/models/attachment.rb @@ -49,15 +49,6 @@ class Attachment < ActiveRecord::Base before_save :files_to_final_location after_destroy :delete_from_disk - def container_with_blank_type_check - if container_type.blank? - nil - else - container_without_blank_type_check - end - end - alias_method_chain :container, :blank_type_check unless method_defined?(:container_without_blank_type_check) - # Returns an unsaved copy of the attachment def copy(attributes=nil) copy = self.class.new |