Merge pull request #5439 from Citadel-Station-13/upstream-merge-35512

[MIRROR] Split up Revert/Removal
This commit is contained in:
LetterJay
2018-02-13 06:28:42 -06:00
committed by GitHub

View File

@@ -210,8 +210,10 @@ function tag_pr($payload, $opened) {
if(strpos(strtolower($title), 'refactor') !== FALSE)
$tags[] = 'Refactor';
if(strpos(strtolower($title), 'revert') !== FALSE || strpos(strtolower($title), 'removes') !== FALSE)
$tags[] = 'Revert/Removal';
if(strpos(strtolower($title), 'revert') !== FALSE)
$tags[] = 'Revert';
if(strpos(strtolower($title), 'removes') !== FALSE)
$tags[] = 'Removal';
}
$remove = array();
@@ -662,7 +664,7 @@ function checkchangelog($payload, $compile = true) {
case 'sounddel':
if($item != 'removed an old sound thingy') {
$tags[] = 'Sound';
$tags[] = 'Revert/Removal';
$tags[] = 'Removal';
$currentchangelogblock[] = array('type' => 'sounddel', 'body' => $item);
}
break;
@@ -678,7 +680,7 @@ function checkchangelog($payload, $compile = true) {
case 'dels':
case 'rscdel':
if($item != 'Removed old things') {
$tags[] = 'Revert/Removal';
$tags[] = 'Removal';
$currentchangelogblock[] = array('type' => 'rscdel', 'body' => $item);
}
break;
@@ -691,7 +693,7 @@ function checkchangelog($payload, $compile = true) {
case 'imagedel':
if($item != 'deleted some icons and images') {
$tags[] = 'Sprites';
$tags[] = 'Revert/Removal';
$tags[] = 'Removal';
$currentchangelogblock[] = array('type' => 'imagedel', 'body' => $item);
}
break;