}
sub allowed_dirs {
+ no warnings 'once';
return grep { defined $_ } (
$config{srcdir},
$IkiWiki::Plugin::transient::transientdir,
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");