ensure opendiscussion hook is always called before lockedit
This was only ordered ok due to luck before.master
parent
eda1d1321b
commit
e33a65719a
|
@ -7,7 +7,8 @@ use IkiWiki 3.00;
|
|||
|
||||
sub import {
|
||||
hook(type => "getsetup", id => "opendiscussion", call => \&getsetup);
|
||||
hook(type => "canedit", id => "opendiscussion", call => \&canedit);
|
||||
hook(type => "canedit", id => "opendiscussion", call => \&canedit,
|
||||
first => 1);
|
||||
}
|
||||
|
||||
sub getsetup () {
|
||||
|
|
Loading…
Reference in New Issue