depricate $session->errorHandler over $session->log

This commit is contained in:
JT Smith 2008-05-30 01:31:50 +00:00
parent b4a45c6ada
commit 3ae5587b64
3 changed files with 21 additions and 7 deletions

View file

@ -305,7 +305,7 @@ while(<FILE>) {
$u->status($user{status});
my $cmd = "WebGUI::Auth::".$authMethod;
my $load = "use ".$cmd;
$session->errorHandler->fatal("Authentication module failed to compile: $cmd.".$@) if($@);
$session->log->fatal("Authentication module failed to compile: $cmd.".$@) if($@);
eval($load);
my $auth = eval{$cmd->new($session, $authMethod,$u->userId)};
$auth->saveParams($u->userId,"WebGUI",{identifier=>$user{identifier}});