projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5afd6e0
)
remove obsolete check to see if check_canedit is available
author
Joey Hess
<joey@kitenet.net>
Mon, 30 Aug 2010 19:44:55 +0000
(15:44 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 30 Aug 2010 19:44:55 +0000
(15:44 -0400)
The function moved from the editpage plugin into IkiWiki core some time
ago.
IkiWiki/Receive.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Receive.pm
b/IkiWiki/Receive.pm
index fdd463025457f918458168a2671f7c97dd2a37ab..d116049c49c2bbd33b33d7a7dca6bfdc6b48aa57 100644
(file)
--- a/
IkiWiki/Receive.pm
+++ b/
IkiWiki/Receive.pm
@@
-95,10
+95,8
@@
sub test () {
if ($change->{action} eq 'change' ||
$change->{action} eq 'add') {
if (defined $page) {
- if (IkiWiki->can("check_canedit")) {
- IkiWiki::check_canedit($page, $cgi, $session);
- next;
- }
+ IkiWiki::check_canedit($page, $cgi, $session);
+ next;
}
else {
if (IkiWiki::Plugin::attachment->can("check_canattach")) {