projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda1d13
)
ensure opendiscussion hook is always called before lockedit
author
Joey Hess
<joey@gnu.kitenet.net>
Sat, 6 Feb 2010 21:12:29 +0000
(16:12 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sat, 6 Feb 2010 21:12:29 +0000
(16:12 -0500)
This was only ordered ok due to luck before.
IkiWiki/Plugin/opendiscussion.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/opendiscussion.pm
b/IkiWiki/Plugin/opendiscussion.pm
index 4517ff88b6086964421324216d0a536b1bda771f..4b91f5d8314e440920672759d0bc7c2cc394fda0 100644
(file)
--- 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 () {