Browse Source

remove trailing white-space from app/models/attachment.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11267 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.3.0
Toshi MARUYAMA 11 years ago
parent
commit
3d7819ed82
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/models/attachment.rb

+ 1
- 1
app/models/attachment.rb View File

@@ -263,7 +263,7 @@ class Attachment < ActiveRecord::Base
Attachment.where("created_on < ? AND (container_type IS NULL OR container_type = '')", Time.now - age).destroy_all
end

# Moves an existing attachment to its target directory
# Moves an existing attachment to its target directory
def move_to_target_directory!
if !new_record? & readable?
src = diskfile

Loading…
Cancel
Save