Mercurial > hgrepos > hgweb.cgi > s4
changeset 1027:f389a311a8d4 draft
Rename function name
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 06 Dec 2023 20:13:42 +0900 |
parents | a3ec2a73dd33 |
children | 6e24f1ecf13e |
files | s4-funcs.sh s4-migrate.sh |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Wed Dec 06 17:29:00 2023 +0900 +++ b/s4-funcs.sh Wed Dec 06 20:13:42 2023 +0900 @@ -4009,7 +4009,7 @@ EOF } -clean-orphaned() { +clean_orphaned() { # This shoud be done by foreign_key rules, but some db lack them query<<-EOF -- Find blogs that have no parent @@ -4100,7 +4100,7 @@ query "delete from $tbl where rowid=$rowid;" clearcachedir "$tbl/$rowid" if [ x"$tbl" = x"grp" -o x"$tbl" = x"blog" ]; then - clean-orphaned + clean_orphaned fi return 4 else