]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - IkiWiki.pm
remove unused indexlink function and template variable
[www/ikiwiki.git] / IkiWiki.pm
index 54271beccac03847003bc0ea2c92e90433238df7..0da2c93c8e4df2731e416a053bcd1bf7f559d854 100644 (file)
@@ -1401,10 +1401,6 @@ sub filter ($$$) {
        return $content;
 }
 
-sub indexlink () {
-       return "<a href=\"$config{url}\">$config{wikiname}</a>";
-}
-
 sub check_canedit ($$$;$) {
        my $page=shift;
        my $q=shift;
@@ -1744,7 +1740,7 @@ sub misctemplate ($$;@) {
        my $title=shift;
        my $content=shift;
        
-       my $template=template("misc.tmpl") || template("page.tmpl");
+       my $template=template("page.tmpl");
 
        run_hooks(pagetemplate => sub {
                shift->(page => "", destpage => "", template => $template);