Skip to content

Commit

Permalink
MDL-21695 Removing timerestrict help as recommended by Helen
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Apr 30, 2010
1 parent c27d61a commit 539dfe2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion mod/choice/lang/en/choice.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,5 @@
$string['spacesleft'] = 'spaces available';
$string['taken'] = 'Taken';
$string['timerestrict'] = 'Restrict answering to this time period';
$string['timerestrict_help'] = 'This setting allows you to define a time window within which participants are allowed to make a choice. To set an open-ended close date just set the time very far in the future. If you don\'t need this at all then uncheck the box.';
$string['viewallresponses'] = 'View {$a} responses';
$string['yourselection'] = 'Your selection';
2 changes: 0 additions & 2 deletions mod/choice/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ function definition() {
//-------------------------------------------------------------------------------
$mform->addElement('header', 'timerestricthdr', get_string('timerestrict', 'choice'));
$mform->addElement('checkbox', 'timerestrict', get_string('timerestrict', 'choice'));
$mform->addHelpButton('timerestrict', 'timerestrict', 'choice');


$mform->addElement('date_time_selector', 'timeopen', get_string("choiceopen", "choice"));
$mform->disabledIf('timeopen', 'timerestrict');
Expand Down

0 comments on commit 539dfe2

Please sign in to comment.