remove webgui specific dbi tracing code, simplify errorhandler

This commit is contained in:
Graham Knop 2010-04-13 19:56:25 -05:00
parent 18962e6bc9
commit 907a148313
3 changed files with 22 additions and 75 deletions

View file

@ -856,10 +856,7 @@ Returns a reference to the current session.
sub session {
my $self = shift;
if (@_) {
my $session = $self->{private_webgui_session} = shift;
require WebGUI::SQL::Trace;
open my $trace_handle, '>:via(WebGUI::SQL::Trace)', $session;
$self->trace('2|SQL', $trace_handle);
$self->{private_webgui_session} = shift;
}
return $self->{private_webgui_session};
}