summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/recentchanges.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/recentchanges.pm b/IkiWiki/Plugin/recentchanges.pm
index 56e17dcca..fe414d865 100644
--- a/IkiWiki/Plugin/recentchanges.pm
+++ b/IkiWiki/Plugin/recentchanges.pm
@@ -94,8 +94,7 @@ sub sessioncgi ($$) {
return unless $do eq 'revert' && $rev;
my @changes=$IkiWiki::hooks{rcs}{rcs_preprevert}{call}->($rev);
- require IkiWiki::Receive;
- IkiWiki::Receive::test_changes(
+ IkiWiki::check_canchange(
cgi => $q,
session => $session,
changes => \@changes,