From 929f6040f975443836bac4a22a2b04ba96f55209 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Thu, 11 Jun 2020 16:54:17 -0400 Subject: [PATCH] notify everyone if ticket is exactly 60 minutes old --- oncall.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/oncall.php b/oncall.php index 348ac15..954cb0a 100644 --- a/oncall.php +++ b/oncall.php @@ -17,8 +17,6 @@ if ($table) { $oncall->sendToMattermost($table); } -//email($item, $contact); - /** * The class that does all the magic. */ @@ -103,7 +101,7 @@ class oncall { $td_min = (int) ($time_difference / 60); // Flag if any items are overdue. - if ($td_min > 60) { + if ($td_min >= 60) { $this->everyone = TRUE; } // Notify every 30 minutes.