From 969c6c6d779988af9dd020c09cd2e8a7a927961f Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 18 Jul 2015 12:20:09 -0700 Subject: [PATCH] Remove minute from time conditions as its better to use one of the other options. --- app/time_conditions/time_condition_edit.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index ef8f011931..c2ff55e645 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -562,7 +562,7 @@ require_once "resources/header.php"; $time_condition_vars["week"] = $text['label-week-of-year']; $time_condition_vars["mweek"] = $text['label-week-of-month']; $time_condition_vars["hour"] = $text['label-hour-of-day']; - $time_condition_vars["minute"] = $text['label-minute-of-hour']; + //$time_condition_vars["minute"] = $text['label-minute-of-hour']; //$time_condition_vars["minute-of-day"] = $text['label-minute-of-day']; $time_condition_vars["time-of-day"] = $text['label-time-of-day']; $time_condition_vars["date-time"] = $text['label-date-and-time']; @@ -685,13 +685,6 @@ require_once "resources/header.php"; } break; - case 'minute': //minutes of hour - for (m = 0; m <= 59; m++) { - sel_start.options[sel_start.options.length] = new Option(pad(m, 2), m); //pad function defined below - sel_stop.options[sel_stop.options.length] = new Option(pad(m, 2), m); - } - break; - case 'time-of-day': //time of day for (h = 0; h <= 23; h++) { for (m = 0; m <= 55; m += 5) {