From: Joey Hess Date: Thu, 6 May 2010 00:42:56 +0000 (-0400) Subject: remove unused indexlink function and template variable X-Git-Tag: 3.20100515~90 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/11937595687df86aa93502d2e895f747a6262c4c?hp=66c787658e4e040e15a3c836514e5e80c453cc09 remove unused indexlink function and template variable --- diff --git a/IkiWiki.pm b/IkiWiki.pm index 72f416489..0da2c93c8 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1401,10 +1401,6 @@ sub filter ($$$) { return $content; } -sub indexlink () { - return "$config{wikiname}"; -} - sub check_canedit ($$$;$) { my $page=shift; my $q=shift; diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm index 7bb6eb07c..670eedfd9 100644 --- a/IkiWiki/Plugin/editpage.pm +++ b/IkiWiki/Plugin/editpage.pm @@ -148,7 +148,6 @@ sub cgi_editpage ($$) { $form->field(name => "editcontent", type => "textarea", rows => 20, cols => 80); $form->tmpl_param("can_commit", $config{rcs}); - $form->tmpl_param("indexlink", indexlink()); $form->tmpl_param("helponformattinglink", htmllink($page, $page, "ikiwiki/formatting", noimageinline => 1,