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
This commit is contained in:
Toshi MARUYAMA 2013-01-26 00:47:29 +00:00
parent 8f2fdaccd2
commit 3d7819ed82
1 changed files with 1 additions and 1 deletions

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 Attachment.where("created_on < ? AND (container_type IS NULL OR container_type = '')", Time.now - age).destroy_all
end end
# Moves an existing attachment to its target directory # Moves an existing attachment to its target directory
def move_to_target_directory! def move_to_target_directory!
if !new_record? & readable? if !new_record? & readable?
src = diskfile src = diskfile