Remove duplicate changelog entries

This commit is contained in:
Jellyfrog
2020-07-31 15:48:32 +02:00
parent 3b60c48431
commit f992b7dc9f
2 changed files with 2 additions and 2307 deletions

View File

@@ -235,7 +235,7 @@ GRAPHQL;
}
// If the Gihub profile doesnt exist anymore, the author is null
if(empty($pr['author'])) {
if (empty($pr['author'])) {
$pr['author'] = ['login' => 'ghost', 'url' => 'https://github.com/ghost'];
}
@@ -247,7 +247,7 @@ GRAPHQL;
$this->recordUserInfo($pr['author']);
// Let's not count self-merges
if($pr['author']['login'] != $pr['mergedBy']['login']) {
if ($pr['author']['login'] != $pr['mergedBy']['login']) {
$this->recordUserInfo($pr['mergedBy'], 'changelog_mergers');
}