mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-30 12:19:38 +00:00
Removed unused instance variable.
git-svn-id: http://svn.redmine.org/redmine/trunk@13524 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
78f65df8f7
commit
65997d4ff8
@ -309,7 +309,7 @@ class Attachment < ActiveRecord::Base
|
||||
just_filename = value.gsub(/\A.*(\\|\/)/m, '')
|
||||
|
||||
# Finally, replace invalid characters with underscore
|
||||
@filename = just_filename.gsub(/[\/\?\%\*\:\|\"\'<>\n\r]+/, '_')
|
||||
just_filename.gsub(/[\/\?\%\*\:\|\"\'<>\n\r]+/, '_')
|
||||
end
|
||||
|
||||
# Returns the subdirectory in which the attachment will be saved
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user