This commit is contained in:
parent
90c199f15a
commit
a83fc1c8d8
|
@ -152,7 +152,7 @@ class Issue < ActiveRecord::Base
|
||||||
# 更新缺陷
|
# 更新缺陷
|
||||||
def act_as_forge_message_update
|
def act_as_forge_message_update
|
||||||
unless self.author_id == self.assigned_to_id
|
unless self.author_id == self.assigned_to_id
|
||||||
self.forge_messages << ForgeMessage.new(:user_id => self.assigned_to_id, :project_id => self.project_id, :viewed => false, :update=> true)
|
self.forge_messages << ForgeMessage.new(:user_id => self.assigned_to_id, :project_id => self.project_id, :viewed => false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue