diff options
author | blipvert@b874dc05477cdc0dc8c9c8d9bbe2e39240253a85 <blipvert@web> | 2016-12-14 19:04:05 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2016-12-14 19:04:05 -0400 |
commit | bd6a4567fda279697962cc13efa0c293edae2e71 (patch) | |
tree | 420e511462b8b6bc94c54e14b6e763a93944cfbb /doc | |
parent | 9b0e02394baa3a9ad0afc225959de3880af5119b (diff) | |
download | ikiwiki-bd6a4567fda279697962cc13efa0c293edae2e71.tar ikiwiki-bd6a4567fda279697962cc13efa0c293edae2e71.tar.gz |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn b/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn new file mode 100644 index 000000000..b5e1ea35d --- /dev/null +++ b/doc/bugs/use_of___36__topurl_in_cgitemplate.mdwn @@ -0,0 +1,8 @@ +In commits by Simon McVittie on Oct 5, 2014, the following was added to `cgitemplate()`: + + b0a35c81 (Simon McVittie 2014-10-05 61) my $topurl = $config{url}; + 3b8da667 (Simon McVittie 2014-10-05 62) if (defined $cgi && ! $config{w3mmode} && ! $config{reverse_proxy}) { + b0a35c81 (Simon McVittie 2014-10-05 63) $topurl = $cgi->url; + b0a35c81 (Simon McVittie 2014-10-05 64) } + +I am trying to determine what was intended by this change. The variable `$topurl` is not used again in this function, so this is essentially dead code. |