Unused variable

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3774 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-06-19 03:54:28 +00:00
parent cf334cee31
commit f08b2a394d
1 changed files with 0 additions and 1 deletions

View File

@ -141,7 +141,6 @@ class Attachment < ActiveRecord::Base
# :unsaved => array of the files that could not be attached # :unsaved => array of the files that could not be attached
def self.attach_files(obj, attachments) def self.attach_files(obj, attachments)
attached = [] attached = []
unsaved = []
if attachments && attachments.is_a?(Hash) if attachments && attachments.is_a?(Hash)
attachments.each_value do |attachment| attachments.each_value do |attachment|
file = attachment['file'] file = attachment['file']