diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-02-06 16:12:29 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-02-06 16:12:29 -0500 |
commit | e33a65719a58a65201c1c742f544f5cab38ad23c (patch) | |
tree | 810d834178e0cdc7b1c265eb7d97ac4dd6297285 /IkiWiki | |
parent | eda1d1321b7510d717c236b668e430bf1f656bed (diff) | |
download | ikiwiki-e33a65719a58a65201c1c742f544f5cab38ad23c.tar ikiwiki-e33a65719a58a65201c1c742f544f5cab38ad23c.tar.gz |
ensure opendiscussion hook is always called before lockedit
This was only ordered ok due to luck before.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/opendiscussion.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/opendiscussion.pm b/IkiWiki/Plugin/opendiscussion.pm index 4517ff88b..4b91f5d83 100644 --- a/IkiWiki/Plugin/opendiscussion.pm +++ b/IkiWiki/Plugin/opendiscussion.pm @@ -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 () { |