s4
changeset 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 | 18b4d56a6206 |
children | f4048bfdc7f5 |
files | s4-blog.sh |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/s4-blog.sh Wed Jul 22 09:07:59 2015 +0900 1.2 +++ b/s4-blog.sh Wed Jul 22 09:19:04 2015 +0900 1.3 @@ -14,6 +14,7 @@ 1.4 blog_notify_reply() { 1.5 # $1=articleid $2=ReplyingUser $3=WrittenText 1.6 blogowner=`getvalbyid blog owner "$1"` 1.7 + [ x"$2" = x"$blogowner" ] && return # If author=blogowner, unnecessary 1.8 blogtitle=`getvalbyid blog title "$1"` 1.9 blogurl="$urlbase?replyblog+$1" 1.10 emails=`collectemail $blogowner`