Added passive profiling
This commit is contained in:
parent
c360ed94fa
commit
7f474c9856
1 changed files with 3 additions and 0 deletions
|
|
@ -213,6 +213,9 @@ The user for the session to become.
|
|||
|
||||
sub convertVisitorToUser {
|
||||
WebGUI::SQL->write("update userSession set userId=$_[1] where sessionId=".quote($_[0]));
|
||||
if ($session{setting}{passiveProfilingEnabled}) {
|
||||
WebGUI::SQL->write("update passiveProfileLog set userId = ".quote($_[1])." where sessionId = ".quote($_[0]));
|
||||
}
|
||||
undef $session{isInGroup}; # decache some performance enhancers because we're
|
||||
undef $session{gotGroupsForUser}; # user ids.
|
||||
$session{var}{userId} = $_[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue