]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/git.pm
* Centralised all calls to HTML::Template and force all the templates
[ikiwiki.git] / IkiWiki / Rcs / git.pm
index f29ffa16238fb1826377eda6ccfdf491485cfa10..636eb57f552863bbdc76bebc9c14ad5e25c728e2 100644 (file)
@@ -449,9 +449,7 @@ sub rcs_notify () { #{{{
        }
        $subject .= " by $user";
 
-       my $template = HTML::Template->new(
-               filename => "$config{templatedir}/notifymail.tmpl"
-       );
+       my $template = template("notifymail.tmpl");
        $template->param(
                wikiname => $config{wikiname},
                diff     => $diff,