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.