summaryrefslogtreecommitdiffstats
path: root/app/models/attachment.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-06-19 03:54:28 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-06-19 03:54:28 +0000
commitf08b2a394d7341e3b270c374c40778441c96c582 (patch)
tree152494f3ec16781af0ab28aec6a6074f8f7f6c7e /app/models/attachment.rb
parentcf334cee3189a84ca6fb0554e16ebcd740409a11 (diff)
downloadredmine-f08b2a394d7341e3b270c374c40778441c96c582.tar.gz
redmine-f08b2a394d7341e3b270c374c40778441c96c582.zip
Unused variable
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3774 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/attachment.rb')
-rw-r--r--app/models/attachment.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/attachment.rb b/app/models/attachment.rb
index f05b35c77..99e461dc8 100644
--- a/app/models/attachment.rb
+++ b/app/models/attachment.rb
@@ -141,7 +141,6 @@ class Attachment < ActiveRecord::Base
# :unsaved => array of the files that could not be attached
def self.attach_files(obj, attachments)
attached = []
- unsaved = []
if attachments && attachments.is_a?(Hash)
attachments.each_value do |attachment|
file = attachment['file']