mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove duplicate changelog entries
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user