diff options
Diffstat (limited to 'lib/Youri/Submit/Check/Queue_recency.pm')
-rw-r--r-- | lib/Youri/Submit/Check/Queue_recency.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Youri/Submit/Check/Queue_recency.pm b/lib/Youri/Submit/Check/Queue_recency.pm index af48e9a..208575f 100644 --- a/lib/Youri/Submit/Check/Queue_recency.pm +++ b/lib/Youri/Submit/Check/Queue_recency.pm @@ -24,11 +24,8 @@ sub run { my @newer_revisions = $repository->get_upload_newer_revisions($package, $target, $define); if (@newer_revisions) { - $self->{_error} = "Newer revisions already exists for $target in upload queue: " . join(', ', @newer_revisions); - return 0; + return "Newer revisions already exists for $target in upload queue: " . join(', ', @newer_revisions); } - - return 1; } =head1 COPYRIGHT AND LICENSE |