git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11267 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/2.3.0
@@ -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 |