More performance friendly fix for the Apache User problem
This commit is contained in:
parent
ad7e894fbc
commit
f8e69afdf4
2 changed files with 4 additions and 3 deletions
|
|
@ -93,7 +93,6 @@ sub contentHandler {
|
|||
} elsif ($session->setting->get("specialState") eq "upgrading") {
|
||||
upgrading($session);
|
||||
} else {
|
||||
$r->user($session->user->username); # Tell Apache who's getting this page
|
||||
my $output = processOperations($session);
|
||||
if ($output ne "") {
|
||||
# do nothing because we have operation output to display
|
||||
|
|
|
|||
|
|
@ -587,10 +587,12 @@ sub user {
|
|||
}
|
||||
delete $self->{_stow};
|
||||
$self->{_user} = $option->{user} || WebGUI::User->new($self, $userId);
|
||||
$self->request->user($self->{_user}->username);
|
||||
} elsif (!exists $self->{_user}) {
|
||||
$self->{_user} = WebGUI::User->new($self, $self->var->get('userId'));
|
||||
}
|
||||
return $self->{_user};
|
||||
$self->request->user($self->{_user}->username);
|
||||
}
|
||||
return $self->{_user};
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue