diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-10-14 22:40:04 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-10-14 22:40:18 +0200 |
commit | a7bb5a65b71644d9efce5fed783ed545b9336548 (patch) | |
tree | 8ea2535efcd0ffed98245d942505fbe63fb6bfcf /Bugzilla | |
parent | d1d366d4517d67e46ad930336a468ef56bdea2db (diff) | |
download | bugzilla-a7bb5a65b71644d9efce5fed783ed545b9336548.tar.gz bugzilla-a7bb5a65b71644d9efce5fed783ed545b9336548.tar.xz |
Revert "fix stack for error messages"
This reverts commit 480e3572661cc856591e0aa11b5eb023338558ed.
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB.pm | 4 |
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(@_); } ); } |