first round of changes for the new session system
This commit is contained in:
parent
da95226072
commit
d4b7f2ce59
128 changed files with 2442 additions and 1478 deletions
|
|
@ -15,7 +15,6 @@ package WebGUI::Asset;
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
use WebGUI::Session;
|
||||
use File::Path;
|
||||
|
||||
=head1 NAME
|
||||
|
|
@ -107,7 +106,7 @@ sub exportAsHtml {
|
|||
my %oldSession = %session;
|
||||
|
||||
# Change the stuff we need to change to do the export
|
||||
WebGUI::Session::refreshUserInfo($userId) unless ($userId == $session{user}{userId});
|
||||
$session->user({userId=>$userId}) unless ($userId == $session{user}{userId});
|
||||
delete $session{form};
|
||||
$session{var}{adminOn} = $self->get('adminOn');
|
||||
$self->WebGUI::Session::refreshPageInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue