From: Simon McVittie Date: Mon, 19 Dec 2016 12:00:34 +0000 (+0000) Subject: cgitemplate: actually remove dead code X-Git-Tag: debian/3.20161219~15 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/b0b1428e621740259f4425855d6e92b1cb169e78 cgitemplate: actually remove dead code Signed-off-by: Simon McVittie --- diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 243662386..89f4f2d73 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -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};