Mercurial > hgrepos > hgweb.cgi > s4
changeset 430:ce497c515996
Skip notify check when replymark is null and author=owner
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 06 May 2017 18:06:48 +0859 |
parents | c3bf12c5dba6 |
children | 703346e6e7de |
files | s4-blog.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-blog.sh Sat May 06 18:03:39 2017 +0859 +++ b/s4-blog.sh Sat May 06 18:06:48 2017 +0859 @@ -31,8 +31,6 @@ # $1=blogid $2=ReplyingUser $3=WrittenText $4(optional)=Action blogid="${1%%[!A-Z0-9a-z_]*}" blogowner=`getvalbyid blog owner "$blogid"` - ## 2017-0505 Need reply even if the author is owner for explicit reply - ##[ x"$2" = x"$blogowner" ] && return # If author=blogowner, unnecessary blogtitle=`getvalbyid blog title "$blogid"` blogurl="$urlbase?replyblog+$blogid" action=${4:-書き込み} @@ -77,6 +75,8 @@ done action="${whom}への返信" fi + else + [ x"$2" = x"$blogowner" ] && return # If author=blogowner, unnecessary fi test -z "$emails" && return err notify: user=$user Admins=`getgroupadmins $blogowner` Mode=$mode Emails="[$emails]"