Skip to content

Commit a5dc636

Browse files
authored
Merge pull request #1279 from metacpan/mickey/cleanup
cleanup unused method
2 parents 2665153 + 8caf889 commit a5dc636

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/MetaCPAN/Script/Watcher.pm

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -130,25 +130,6 @@ sub latest_release {
130130
->sort( [ { 'date' => { order => "desc" } } ] )->first;
131131
}
132132

133-
sub skip {
134-
my ( $self, $author, $archive ) = @_;
135-
return $self->es->count( {
136-
index => $self->index->name,
137-
type => 'release',
138-
body => {
139-
query => {
140-
bool => {
141-
must => [
142-
{ term => { status => 'backpan' } },
143-
{ term => { archive => $archive } },
144-
{ term => { author => $author } },
145-
],
146-
},
147-
},
148-
},
149-
} );
150-
}
151-
152133
sub index_release {
153134
my ( $self, $release ) = @_;
154135
my $archive = $self->cpan->child( $release->{path} )->stringify;

0 commit comments

Comments
 (0)