Unused variable
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3774 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
cf334cee31
commit
f08b2a394d
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue