eliminating redundancy
This commit is contained in:
parent
ac3feec9f9
commit
4d361e6614
1 changed files with 1 additions and 4 deletions
|
|
@ -107,14 +107,11 @@ sub contentHandler {
|
||||||
} elsif ($session{setting}{specialState} eq "init") {
|
} elsif ($session{setting}{specialState} eq "init") {
|
||||||
return $r->print(setup());
|
return $r->print(setup());
|
||||||
} else {
|
} else {
|
||||||
my $output;
|
my $output = page();
|
||||||
if (WebGUI::ErrorHandler::canShowPerformanceIndicators()) {
|
if (WebGUI::ErrorHandler::canShowPerformanceIndicators()) {
|
||||||
my $t = [Time::HiRes::gettimeofday()];
|
my $t = [Time::HiRes::gettimeofday()];
|
||||||
$output = page();
|
|
||||||
$t = Time::HiRes::tv_interval($t) ;
|
$t = Time::HiRes::tv_interval($t) ;
|
||||||
$output =~ s/<\/title>/ : ${t} seconds<\/title>/i;
|
$output =~ s/<\/title>/ : ${t} seconds<\/title>/i;
|
||||||
} else {
|
|
||||||
$output = page();
|
|
||||||
}
|
}
|
||||||
WebGUI::Affiliate::grabReferral(); # process affilliate tracking request
|
WebGUI::Affiliate::grabReferral(); # process affilliate tracking request
|
||||||
if (WebGUI::HTTP::isRedirect()) {
|
if (WebGUI::HTTP::isRedirect()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue