Skip to content

Commit e29a21e

Browse files
committed
PAUSE::package: remove dead, commented-out code
I had commented out some code so that we would only check in a package update if we were in an OK state. That is no longer needed, because if we are not in an OK state, we will have thrown an exception. Removing the commented-out code just makes things easier to skim.
1 parent 238993c commit e29a21e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/PAUSE/package.pm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -736,10 +736,7 @@ sub checkin {
736736
$self->insert_into_package($ctx);
737737
}
738738

739-
# my $status = $self->get_index_status_status($ctx);
740-
# if (! $status or $status == PAUSE::mldistwatch::Constants::OK) {
741-
$self->checkin_into_primeur($ctx); # called in void context!
742-
# }
739+
$self->checkin_into_primeur($ctx); # called in void context!
743740

744741
return;
745742
}

0 commit comments

Comments
 (0)