remove debug code from User.pm and fix slave handling in Session

This commit is contained in:
Colin Kuskie 2007-03-08 22:54:20 +00:00
parent 62f3a9b045
commit 7d5e6ae526
2 changed files with 11 additions and 8 deletions

View file

@ -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]);