]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
cgitemplate: actually remove dead code
authorSimon McVittie <smcv@debian.org>
Mon, 19 Dec 2016 12:00:34 +0000 (12:00 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 19 Dec 2016 13:20:55 +0000 (13:20 +0000)
Signed-off-by: Simon McVittie <smcv@debian.org>
IkiWiki/CGI.pm

index 243662386a55f84fc21c6959e136b4de3eaec27c..89f4f2d732715aa3465ca9b7d181409c469e6d75 100644 (file)
@@ -58,11 +58,6 @@ sub cgitemplate ($$$;@) {
        
        my $template=template("page.tmpl");
 
-       my $topurl = $config{url};
-       if (defined $cgi && ! $config{w3mmode} && ! $config{reverse_proxy}) {
-               $topurl = $cgi->url;
-       }
-
        my $page="";
        if (exists $params{page}) {
                $page=delete $params{page};