]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/remove.pm
pagespec_match_list * optimisation
[git.ikiwiki.info.git] / IkiWiki / Plugin / remove.pm
index 7815016625a3c84b4e8dc212d9fb86f728adf31d..ee5784f2026db29ac4d48041f6cd355c2356bf1a 100644 (file)
@@ -3,7 +3,7 @@ package IkiWiki::Plugin::remove;
 
 use warnings;
 use strict;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 
 sub import {
        hook(type => "getsetup", id => "remove", call => \&getsetup);
 
 sub import {
        hook(type => "getsetup", id => "remove", call => \&getsetup);
@@ -218,7 +218,7 @@ sub sessioncgi ($$) {
                        }
                }
                else {
                        }
                }
                else {
-                       IkiWiki::showform($form, $buttons, $session, $q);
+                       removal_confirm($q, $session, 0, $q->param("page"));
                }
 
                exit 0;
                }
 
                exit 0;