]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
update
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchanges.pm
index 56e17dcca4035b5d668cfd4b6d69e048c559a143..fe414d8659ef071cd51c377d999ad3bc96cf647f 100644 (file)
@@ -94,8 +94,7 @@ sub sessioncgi ($$) {
        return unless $do eq 'revert' && $rev;
 
        my @changes=$IkiWiki::hooks{rcs}{rcs_preprevert}{call}->($rev);
        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,
                cgi => $q,
                session => $session,
                changes => \@changes,