remove obsolete check to see if check_canedit is available
The function moved from the editpage plugin into IkiWiki core some time ago.master
parent
5afd6e0f70
commit
69fc0f427e
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue