summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/recentchanges.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-06 14:39:10 -0400
committerJoey Hess <joey@kitenet.net>2010-10-06 14:39:10 -0400
commit237ea79d715fbba5c1be0b73fbe008b3221975fb (patch)
treefac4414563696c4296ac615430a977eeb2c9039e /IkiWiki/Plugin/recentchanges.pm
parent9366c5efd38a4c1c7f5d4506982b9bda20eb9ada (diff)
remove rcs_showpatch
Diffstat (limited to 'IkiWiki/Plugin/recentchanges.pm')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index 7e71d4fc3..948bb1366 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -117,7 +117,7 @@ sub sessioncgi ($$) {
}
else {
$form->title(sprintf(gettext("confirm reversion of %s"), $rev));
- my $patch_contents = IkiWiki::rcs_showpatch(rev => $rev);
+ my $patch_contents = IkiWiki::rcs_diff($rev);
$form->tmpl_param(patch_contents => encode_entities($patch_contents));
$form->field(name => "rev", type => "hidden", value => $rev, force => 1);
IkiWiki::showform($form, $buttons, $session, $q);