Skip to content

Commit

Permalink
remove leftover from patch we did not take yet
Browse files Browse the repository at this point in the history
  • Loading branch information
justdave committed Mar 13, 2024
1 parent 914f219 commit c66bb60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions extensions/Voting/Extension.pm
Original file line number Diff line number Diff line change
Expand Up @@ -896,8 +896,7 @@ sub _remove_votes {
sub _confirm_if_vote_confirmed {
my ($id, $product) = @_;
my $bug = ref $id ? $id : new Bugzilla::Bug({id => $id, cache => 1});
$product ||= $bug->product_obj;
$timestamp ||= Bugzilla->dbh->selectrow_array('SELECT LOCALTIMESTAMP(0)');
$product ||= $bug->product_obj;

my $ret = 0;
if ( !$bug->everconfirmed
Expand Down

0 comments on commit c66bb60

Please sign in to comment.