From d9ef87e999460e305a47a77d2eed7577948a5142 Mon Sep 17 00:00:00 2001 From: "oncall@orange" Date: Thu, 3 Sep 2020 17:47:27 -0400 Subject: [PATCH] use 'do not alert' with support ticket --- oncall.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/oncall.php b/oncall.php index d77a5a6..0c09b11 100644 --- a/oncall.php +++ b/oncall.php @@ -148,12 +148,7 @@ class oncall { $table .= "| {$item['author']['name']} "; $table .= "| {$item['subject']} "; $table .= "| {$item['minutes']} "; - if ($label == 'New Maintenance Tickets') { - $table .= "| [Do Not Alert](https://oncall.megaphonetech.com/update_redmine.php?action=do_not_alert&issue={$item['id']}) "; - } - else { - $table .= "| "; - } + $table .= "| [Do Not Alert](https://oncall.megaphonetech.com/update_redmine.php?action=do_not_alert&issue={$item['id']}) "; $table .= "|\n"; } }