summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/DB.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 51dd75299..87110aaaa 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -58,9 +58,7 @@ has [qw(dsn user pass attrs)] => (
$stash->add_symbol(
$symbol => sub {
my $self = shift;
- unshift @_, $self->dbh;
- my $func = $self->dbh->can($method);
- goto &$func;
+ return $self->dbh->$method(@_);
}
);
}