]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
403 response may be a "not found" too
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index 3f1704846407aa55baad6dd662ba4c263dd25cec..cbc8a0f2ce70719e770fc64853feaaa37252f23b 100644 (file)
@@ -58,7 +58,7 @@ sub check_canremove ($$$) {
        my $canremove;
        IkiWiki::run_hooks(canremove => sub {
                return if defined $canremove;
-               my $ret=shift->($page, $q, $session);
+               my $ret=shift->(page => $page, cgi => $q, session => $session);
                if (defined $ret) {
                        if ($ret eq "") {
                                $canremove=1;