Skip to content

Commit 80e558b

Browse files
authored
Merge pull request #1327 from metacpan/leo/remove_author_backpan_dir
2 parents 3d7359b + 5287831 commit 80e558b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/MetaCPAN/Query/Release.pm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ sub author_status {
2222

2323
my ( $id_2, $id_1 ) = $id =~ /^((\w)\w)/;
2424
$status->{links} = {
25-
cpan_directory => "http://cpan.org/authors/id/$id_1/$id_2/$id",
26-
backpan_directory =>
27-
"https://cpan.metacpan.org/authors/id/$id_1/$id_2/$id",
28-
cpants => "http://cpants.cpanauthors.org/author/$id",
25+
cpan_directory => "http://cpan.org/authors/id/$id_1/$id_2/$id",
26+
cpants => "http://cpants.cpanauthors.org/author/$id",
2927
cpantesters_reports =>
3028
"http://cpantesters.org/author/$id_1/$id.html",
3129
cpantesters_matrix => "http://matrix.cpantesters.org/?author=$id",

t/server/controller/author.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test_psgi app, sub {
8989
is_deeply(
9090
[ sort keys %{$links} ],
9191
[
92-
qw< backpan_directory cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
92+
qw< cpan_directory cpantesters_matrix cpantesters_reports cpants metacpan_explorer repology>
9393
],
9494
'links has the correct keys'
9595
);

0 commit comments

Comments
 (0)