Skip to content

Commit

Permalink
removed unused array group from form
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed Oct 24, 2023
1 parent 0601911 commit dada8b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions driprelease_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ public function definition() {
$mform->addElement('select', 'coursegroup', get_string('coursegroups', 'tool_driprelease' ), $coursegroups);

$driprelease->sessionlength = $driprelease->sessionlength ?? get_config('tool_driprelease', 'tool_driprelease');
$group[] = $mform->createElement('text', 'sessionlength', get_string('sessionlength', 'tool_driprelease'),
['value' => $driprelease->sessionlength, 'size' => 3] );

$mform->addElement('text', 'sessionlength', get_string('sessionlength', 'tool_driprelease'),
['value' => $driprelease->sessionlength, 'size' => 2]);
Expand Down

0 comments on commit dada8b1

Please sign in to comment.