s4

changeset 307:e7a7f6cb9627

When removing a group, switch to grp-list and return
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 15 Oct 2016 10:35:18 +0859
parents 827dd5d8653e
children e38ea2702570
files s4-funcs.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Sat Oct 15 10:25:10 2016 +0859
     1.2 +++ b/s4-funcs.sh	Sat Oct 15 10:35:18 2016 +0859
     1.3 @@ -1358,6 +1358,8 @@
     1.4  	 (select id from blog_s where key='owner' and val=$qgname);"
     1.5  	err rm-grp cleaning sql=`echo $sql`
     1.6  	query "$sql";
     1.7 +	grps			# When removing a group, switch to grp-list
     1.8 +	return			# and return
     1.9        fi
    1.10      fi
    1.11      [ -z "$parow" ] && joingrp "$gname" "$user" yes "" as-admin