]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/svn.pm
* Centralised all calls to HTML::Template and force all the templates
[ikiwiki.git] / IkiWiki / Rcs / svn.pm
index 42ded0cea8f3b322a901348fd11adf6212b78bc2..be4106a02d143704f1e9bf2496e1e0b56dcf43b2 100644 (file)
@@ -202,9 +202,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,