remove debug code from User.pm and fix slave handling in Session
This commit is contained in:
parent
62f3a9b045
commit
7d5e6ae526
2 changed files with 11 additions and 8 deletions
|
|
@ -383,7 +383,6 @@ sub new {
|
|||
my $cache = WebGUI::Cache->new($session,["user",$userId]);
|
||||
my $userData = $cache->get;
|
||||
unless ($userData->{_userId} && $userData->{_user}{username}) {
|
||||
$session->errorHandler->warn('Cache invalid');
|
||||
my %user;
|
||||
tie %user, 'Tie::CPHash';
|
||||
%user = $session->db->quickHash("select * from users where userId=?",[$userId]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue