修改邮件标题统计
This commit is contained in:
parent
c2578698f5
commit
b380b515c6
|
@ -273,7 +273,7 @@ class Mailer < ActionMailer::Base
|
||||||
@subject = " #{user.show_name}#{l(:label_day_mail_first)}#{total_count}#{l(:label_day_mail_last)}"
|
@subject = " #{user.show_name}#{l(:label_day_mail_first)}#{total_count}#{l(:label_day_mail_last)}"
|
||||||
mylogger.debug "Sent activity mail : #{user.mail} - #{has_content}"
|
mylogger.debug "Sent activity mail : #{user.mail} - #{has_content}"
|
||||||
#有内容才发,没有不发
|
#有内容才发,没有不发
|
||||||
mail :to => user.mail,:subject => subject if has_content
|
mail :to => user.mail,:subject => @subject if has_content
|
||||||
end
|
end
|
||||||
|
|
||||||
# 作业截止时间邮件提醒
|
# 作业截止时间邮件提醒
|
||||||
|
|
Loading…
Reference in New Issue