From 76efd703da754729ef9d16ab3619cc85b2f12caa Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Thu, 26 Oct 2017 03:07:26 -0700 Subject: [PATCH] Webhook processor no longer removes [tags] from titles (#32053) * Webhook processor no longer removes [tags] from titles This was shit * Does the oranges --- tools/WebhookProcessor/github_webhook_processor.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/WebhookProcessor/github_webhook_processor.php b/tools/WebhookProcessor/github_webhook_processor.php index 40583d94c4..da5b037237 100644 --- a/tools/WebhookProcessor/github_webhook_processor.php +++ b/tools/WebhookProcessor/github_webhook_processor.php @@ -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;