Session/Http: concentrate conditional check in 1 place, rather than in every one.
WebGUI.pm: Remove old line trying to print HTTP headers.
This commit is contained in:
parent
2e5b73adf4
commit
d30348e940
2 changed files with 3 additions and 3 deletions
|
|
@ -234,7 +234,6 @@ sub uploadsHandler {
|
|||
sub upgrading {
|
||||
my $session = shift;
|
||||
$session->http->getHeader;
|
||||
$session->output->print($session->http->getHeader());
|
||||
open(FILE,"<".$session->config->getWebguiRoot."/docs/maintenance.html");
|
||||
while (<FILE>) {
|
||||
$session->output->print($_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue