summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-10-14 22:40:04 +0200
committerDylan William Hardison <dylan@hardison.net>2018-10-14 22:40:18 +0200
commita7bb5a65b71644d9efce5fed783ed545b9336548 (patch)
tree8ea2535efcd0ffed98245d942505fbe63fb6bfcf
parentd1d366d4517d67e46ad930336a468ef56bdea2db (diff)
downloadbugzilla-a7bb5a65b71644d9efce5fed783ed545b9336548.tar.gz
bugzilla-a7bb5a65b71644d9efce5fed783ed545b9336548.tar.xz
Revert "fix stack for error messages"
-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(@_);
}
);
}