]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
remove htmllink
authorDavid Bremner <bremner@unb.ca>
Sun, 3 Aug 2008 14:19:24 +0000 (11:19 -0300)
committerDavid Bremner <bremner@unb.ca>
Sun, 3 Aug 2008 14:19:24 +0000 (11:19 -0300)
IkiWiki/Plugin/mailbox.pm

index 09e7a30f90b1563d08a086cbbac9ebc809c89469..2a2320aec5a9ec679534043250ebf6a2678dd8d9 100644 (file)
@@ -39,10 +39,7 @@ sub preprocess (@) { #{{{
 
        my $path=$params{path} ||  error gettext("missing parameter") . " path";
        
-       my $output="";
-
        # hmm, this should probably only be inserted once per page.
-       $output .= htmllink($page,$page,"mailbox.css",rel=>"stylesheet",type=>"text/css");
 
        # note, mbox is not a directory, needs to be special cased
        my $dir=bestdir($page,$params{path}) || 
@@ -50,9 +47,8 @@ sub preprocess (@) { #{{{
 
        $params{path} = $config{srcdir} ."/" . $dir;
 
-       $output.=  format_mailbox(path=>$dir,%params);
+       return  format_mailbox(path=>$dir,%params);
 
-       return $output;
 } # }}}