Skip to content

Commit

Permalink
Merge pull request #3035 from metacpan/haarg/remove-old-infra-scripts
Browse files Browse the repository at this point in the history
remove scripts used in old infrastructure
  • Loading branch information
oalders authored Apr 28, 2024
2 parents 9f6eb71 + 629d481 commit 330dbd3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 82 deletions.
3 changes: 0 additions & 3 deletions bin/prove

This file was deleted.

64 changes: 0 additions & 64 deletions bin/purge.pl

This file was deleted.

10 changes: 0 additions & 10 deletions bin/run

This file was deleted.

5 changes: 0 additions & 5 deletions lib/MetaCPAN/Web/Controller/Account/Favorite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ sub add : Local : Args(0) {
$res = $user->add_favorite($data)->get;
}

# We need to purge if the rating has changes until the fav count
# is moved from server to client side
$c->purge_author_key( $data->{author} ) if $data->{author};
$c->purge_dist_key( $data->{distribution} ) if $data->{distribution};

if ($json) {
$c->res->code(400) if ( $res->{error} );
$c->stash->{json}{success} = $res->{error} ? \0 : \1;
Expand Down

0 comments on commit 330dbd3

Please sign in to comment.