diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-21 09:04:59 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-21 09:04:59 +0000 |
commit | 68784b593fccf688f745e01679f416c78e563bbe (patch) | |
tree | f6610580c99923bc3b06e192f0ff570a9f0db92d | |
parent | 36e0308cc6827e903da83cd0555b93595aa8d5f3 (diff) | |
download | ikiwiki-68784b593fccf688f745e01679f416c78e563bbe.tar ikiwiki-68784b593fccf688f745e01679f416c78e563bbe.tar.gz |
fix breakage
-rw-r--r-- | IkiWiki/Plugin/poll.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/poll.pm b/IkiWiki/Plugin/poll.pm index 4eae6a349..86ed4c840 100644 --- a/IkiWiki/Plugin/poll.pm +++ b/IkiWiki/Plugin/poll.pm @@ -125,12 +125,12 @@ sub cgi ($) { #{{{ IkiWiki::cgi_savesession($session); $oldchoice=$session->param($choice_param); if ($config{rcs}) { - disable_commit_hook(); + IkiWiki::disable_commit_hook(); IkiWiki::rcs_commit($pagesources{$page}, "poll vote ($choice)", IkiWiki::rcs_prepedit($pagesources{$page}), $session->param("name"), $ENV{REMOTE_ADDR}); - enable_commit_hook(); - rcs_update(); + IkiWiki::enable_commit_hook(); + IkiWiki::rcs_update(); } require IkiWiki::Render; IkiWiki::refresh(); |