Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
purge author info (incase of name change) if profile updated
  • Loading branch information
ranguard committed Nov 19, 2016
1 parent 16f55c0 commit 9514007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MetaCPAN/Server/Controller/User.pm
Expand Up @@ -105,7 +105,9 @@ sub profile_PUT {
location => $c->uri_for( '/author/' . $profile->{pauseid} ),
entity => $profile->meta->get_data($profile)
);
$self->purge_author_key( $profile->{pauseid} );
}

}

1;

0 comments on commit 9514007

Please sign in to comment.