diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-08 17:54:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-08 17:54:12 -0400 |
commit | 84111d96c461a5d31a615ebf64cae751e6fd9aef (patch) | |
tree | c816fc340bd318eda018da949317d5e8787f595f /IkiWiki.pm | |
parent | 594eb32780466e89390bacc61f8c28b1d4ca9f0b (diff) | |
download | ikiwiki-84111d96c461a5d31a615ebf64cae751e6fd9aef.tar ikiwiki-84111d96c461a5d31a615ebf64cae751e6fd9aef.tar.gz |
make revert hooks optional
I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead
recentchanges tests to see if the hooks are available and calls
them directly.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index faf4af5c7..1f6d70ba3 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1941,14 +1941,6 @@ sub rcs_receive () { $hooks{rcs}{rcs_receive}{call}->(); } -sub rcs_preprevert ($) { - $hooks{rcs}{rcs_preprevert}{call}->(@_); -} - -sub rcs_revert ($) { - $hooks{rcs}{rcs_revert}{call}->(@_); -} - sub add_depends ($$;$) { my $page=shift; my $pagespec=shift; |