Remove the now unused global_vhost variable.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 18 Nov 2015 23:27:01 +0000 (00:27 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 18 Nov 2015 23:27:01 +0000 (00:27 +0100)
perl/Sesse/pr0n/Index.pm
templates/default/fullscreen-footer

index 1a631ebaea16f5e6746f2d77a1c22402ad1b665a..fbe6d3f3d9cf0fa63ff4bcd85dce0c64816ea66c 100644 (file)
@@ -220,7 +220,6 @@ sub handler {
                $returnurl =~ s/&amp;/&/g;
 
                Sesse::pr0n::Templates::print_template($r, "fullscreen-footer", {
-                       vhost => $r->get_server_name,
                        returnurl => $returnurl,
                        start => $settings{'start'} - 1,
                        sel => $settings{'sel'},
index 22c570520198950bd01d559f75fab5805dcad6e2..5bf2ee258c1f1c6ebbbb6ff9b30b8f45c5eac688 100644 (file)
@@ -1,5 +1,4 @@
 ];
-var global_vhost = "%VHOST%";
 var global_infobox = "%INFOBOX%";
 var global_return_url = "%RETURNURL%";
 var global_image_num = parse_image_num(%START%);