Skip to content

Commit

Permalink
Removed ability for instructors to change appointment date.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnOLane committed Jul 23, 2024
1 parent fff79d7 commit 745cf19
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions slotforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,10 @@ protected function definition() {
}

// Start date/time of the slot.
$mform->addElement('date_time_selector', 'starttime', get_string('date', 'scheduler'), $timeoptions);
$mform->setDefault('starttime', time());
$mform->addHelpButton('starttime', 'choosingslotstart', 'scheduler');
// MODIFIED: Removed ability for instructor to change the appointment date.
// $mform->addElement('date_time_selector', 'starttime', get_string('date', 'scheduler'), $timeoptions);
// $mform->setDefault('starttime', time());
// $mform->addHelpButton('starttime', 'choosingslotstart', 'scheduler');

// Duration of the slot.
//$this->add_duration_field();
Expand Down

0 comments on commit 745cf19

Please sign in to comment.