- return $f, ["Revert", "Cancel"];
-}
-
-sub sessioncgi ($$) {
- my ($q, $session) = @_;
- my $do = $q->param('do');
- my $rev = $q->param('rev');
-
- return unless $do eq 'revert' && $rev;
-
- IkiWiki::rcs_preprevert(cgi => $q, session => $session, rev => $rev);
-
- my ($form, $buttons) = confirmation_form($q, $session);