aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs/svn.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-02 19:06:08 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-02 19:06:08 +0000
commitd1d212203c72072d9a42f66c171dc6be83225894 (patch)
tree5f640f3954402d5c94f596e41fb2856d68683f5c /IkiWiki/Rcs/svn.pm
parent2ed1419c1d469a3e018c2607ba47da525d97fa3a (diff)
downloadikiwiki-d1d212203c72072d9a42f66c171dc6be83225894.tar
ikiwiki-d1d212203c72072d9a42f66c171dc6be83225894.tar.gz
* Centralised all calls to HTML::Template and force all the templates
to be read as utf8.
Diffstat (limited to 'IkiWiki/Rcs/svn.pm')
-rw-r--r--IkiWiki/Rcs/svn.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm
index 42ded0cea..be4106a02 100644
--- a/IkiWiki/Rcs/svn.pm
+++ b/IkiWiki/Rcs/svn.pm
@@ -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,