From b0b1428e621740259f4425855d6e92b1cb169e78 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 19 Dec 2016 12:00:34 +0000 Subject: [PATCH] cgitemplate: actually remove dead code Signed-off-by: Simon McVittie --- IkiWiki/CGI.pm | 5 ----- 1 file changed, 5 deletions(-) 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};