# HG changeset patch # User HIROSE Yuuji # Date 1437524344 -32400 # Node ID 7ae119a146133162d07b256d46887c2c399dff7b # Parent 18b4d56a6206623335b45f37fdf22c01d18f0617 Do not send comment notification when author is board owner diff -r 18b4d56a6206 -r 7ae119a14613 s4-blog.sh --- 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`