Permalink
Browse files

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

  • Loading branch information...
gbateson
gbateson committed Apr 18, 2008
1 parent 5834d78 commit 7f3c24f40b6c5b08d5b6e6df779a3c7dbd15f457
Showing with 0 additions and 6 deletions.
  1. +0 −6 mod/hotpot/mod.html
View
@@ -125,9 +125,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 '<input name="enabletimeopen" type="checkbox" value="1" alt="'.get_string("quizopen", "quiz").'" onclick="'."return lockoptions('form', 'enabletimeopen', timeopenlockitems)".'" '.(empty($form->timeopen) ? '' : 'checked="checked"').' />';
$options = array(
HOTPOT_NO => get_string("alwaysopen", "hotpot"),
@@ -148,9 +145,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 '<input name="enabletimeclose" type="checkbox" value="1" alt="'.get_string("quizclose", "quiz").'" onclick="'."return lockoptions('form', 'enabletimeclose', timecloselockitems)".'" '.(empty($form->timeclose) ? '' : 'checked="checked"').' />';
$options = array(
HOTPOT_NO => get_string("neverclosed", "hotpot"),

0 comments on commit 7f3c24f

Please sign in to comment.