X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/729991564ec7e1116fc023c51e73b47af8b6fce7..f5a1550441a9d58652d93deacc333f143a7ecfbd:/IkiWiki/Plugin/remove.pm?ds=inline diff --git a/IkiWiki/Plugin/remove.pm b/IkiWiki/Plugin/remove.pm index d48b28f95..6875844a3 100644 --- a/IkiWiki/Plugin/remove.pm +++ b/IkiWiki/Plugin/remove.pm @@ -23,6 +23,7 @@ sub getsetup () { } sub allowed_dirs { + no warnings 'once'; return grep { defined $_ } ( $config{srcdir}, $IkiWiki::Plugin::transient::transientdir, @@ -219,7 +220,7 @@ sub sessioncgi ($$) { postremove($session); } elsif ($form->submitted eq 'Remove' && $form->validate) { - IkiWiki::checksessionexpiry($q, $session, $q->param('sid')); + IkiWiki::checksessionexpiry($q, $session); my @pages=$form->field("page");