summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/attachment.rb9
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