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,11 +95,9 @@ 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;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (IkiWiki::Plugin::attachment->can("check_canattach")) {
|
||||
IkiWiki::Plugin::attachment::check_canattach($session, $file, $change->{path});
|
||||
|
|
Loading…
Reference in New Issue