Mercurial > hgrepos > hgweb.cgi > s4
diff s4-blog.sh @ 28:7ae119a14613
Do not send comment notification when author is board owner
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 22 Jul 2015 09:19:04 +0900 |
parents | 01f579d2c889 |
children | 77e2aeb2d7ad |
line wrap: on
line diff
--- a/s4-blog.sh Wed Jul 22 09:07:59 2015 +0900 +++ b/s4-blog.sh Wed Jul 22 09:19:04 2015 +0900 @@ -14,6 +14,7 @@ blog_notify_reply() { # $1=articleid $2=ReplyingUser $3=WrittenText blogowner=`getvalbyid blog owner "$1"` + [ x"$2" = x"$blogowner" ] && return # If author=blogowner, unnecessary blogtitle=`getvalbyid blog title "$1"` blogurl="$urlbase?replyblog+$1" emails=`collectemail $blogowner`