From 92ffe3446ff78cf7892d0900e6cfd4646655c9e1 Mon Sep 17 00:00:00 2001 From: www-data Date: Wed, 3 May 2006 20:46:14 +0000 Subject: [PATCH] web commit by joey --- doc/plugins/write.mdwn | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn index 04803f777..2a43ad249 100644 --- a/doc/plugins/write.mdwn +++ b/doc/plugins/write.mdwn @@ -53,10 +53,9 @@ Beyond PreProcessorDirectives, Other types of hooks that can be used by plugins ### checkconfig - IkiWiki::hook(type => "delete", id => "foo", call => \&checkconfig); + IkiWiki::hook(type => "checkconfig", id => "foo", call => \&checkconfig); -This is useful if the plugin needs to check for, or modify ikiwiki's configuration. It's called early in the ikiwiki startup process. It's ok for -the function to call IkiWiki::error if something isn't configured right. +This is useful if the plugin needs to check for, or modify ikiwiki's configuration. It's called early in the ikiwiki startup process. The function is passed no values. It's ok for the function to call IkiWiki::error if something isn't configured right. ### delete -- 2.32.0.93.g670b81a890