remove webgui specific dbi tracing code, simplify errorhandler
This commit is contained in:
parent
18962e6bc9
commit
907a148313
3 changed files with 22 additions and 75 deletions
|
|
@ -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};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue