Commit 95445c77 authored by emassip's avatar emassip

Fixed comment.

git-svn-id: https://svn.redmine.org/redmine/trunk@10377 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 68d3f6e4
......@@ -1135,7 +1135,7 @@ class Issue < ActiveRecord::Base
end
end
# Callback on attachment deletion
# Callback on file attachment
def attachment_added(obj)
if @current_journal && !obj.new_record?
@current_journal.details << JournalDetail.new(:property => 'attachment', :prop_key => obj.id, :value => obj.filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment