Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit cb856ad0779de008cb53dce7c490b84f721e2ad0 1 parent eb791e1
gbateson authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 mod/hotpot/mod.html
6 mod/hotpot/mod.html
View
@@ -118,9 +118,6 @@
<tr valign="top">
<td align="right"><b><?php print_string("quizopen", "quiz") ?>:</b></td>
<td align="left"><?php
- 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);
@@ -132,9 +129,6 @@
<tr valign="top">
<td align="right"><b><?php print_string("quizclose", "quiz") ?>:</b></td>
<td align="left"><?php
- 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);
Please sign in to comment.
Something went wrong with that request. Please try again.