]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/search.pm
rename the "render" hook to "change", which is clearer
[ikiwiki.git] / IkiWiki / Plugin / search.pm
index c71fef76e7fa65e810d27699f818f4a7caeb3a22..213ed45ff29c00c19769cbee3ec00faf991ae667 100644 (file)
@@ -11,8 +11,8 @@ sub import { #{{{
                call => \&checkconfig);
        IkiWiki::hook(type => "delete", id => "hyperestraier",
                call => \&delete);
-       IkiWiki::hook(type => "render", id => "hyperestraier",
-               call => \&render);
+       IkiWiki::hook(type => "change", id => "hyperestraier",
+               call => \&change);
        IkiWiki::hook(type => "cgi", id => "hyperestraier",
                call => \&cgi);
 } # }}}
@@ -41,7 +41,7 @@ sub delete (@) { #{{{
        IkiWiki::estcfg();
 } #}}}
 
-sub render (@) { #{{{
+sub change (@) { #{{{
        IkiWiki::debug("updating hyperestraier search index");
        IkiWiki::estcmd("gather -cm -bc -cl -sd",
                map {