Webhook processor no longer removes [tags] from titles (#32053)

* Webhook processor no longer removes [tags] from titles

This was shit

* Does the oranges
This commit is contained in:
Kyle Spier-Swenson
2017-10-26 03:07:26 -07:00
committed by CitadelStationBot
parent 630b332848
commit 76efd703da

View File

@@ -167,8 +167,6 @@ function check_tag_and_replace($payload, $title_tag, $label, &$array_to_add_labe
$title = $payload['pull_request']['title'];
if(stripos($title, $title_tag) !== FALSE){
$array_to_add_label_to[] = $label;
$title = trim(str_ireplace($title_tag, '', $title));
apisend($payload['pull_request']['url'], 'PATCH', array('title' => $title));
return true;
}
return false;