Permalink
Browse files

removed setting of timeclose and timeopen when course format == "weeks"

  • Loading branch information...
1 parent 21d1ce8 commit f452e874bcd8159494137a9d732365bbd6c9814e gbateson committed Apr 18, 2008
Showing with 0 additions and 6 deletions.
  1. +0 −6 mod/hotpot/mod.html
View
@@ -84,9 +84,6 @@
choose_from_menu($options, "enabletimeopen", "$form->enabletimeopen", "");
print '<span id="timeopenSPAN">';
print ' &nbsp; ';
- if (!$form->timeopen && $course->format == "weeks") {
- $form->timeopen= $course->startdate + (($form->section - 1) * 608400);
- }
print_date_selector("openday", "openmonth", "openyear", $form->timeopen);
print ' - ';
print_time_selector("openhour", "openminute", $form->timeopen);
@@ -104,9 +101,6 @@
choose_from_menu($options, "enabletimeclose", "$form->enabletimeclose", "");
print '<span id="timecloseSPAN">';
print ' &nbsp; ';
- if (!$form->timeclose && $course->format == "weeks") {
- $form->timeclose= $course->startdate + (($form->section) * 608400);
- }
print_date_selector("closeday", "closemonth", "closeyear", $form->timeclose);
print ' - ';
print_time_selector("closehour", "closeminute", $form->timeclose);

0 comments on commit f452e87

Please sign in to comment.