Skip to content

Commit

Permalink
MDL-84205 mod_assign: allow automatic reopen method to admin defaults.
Browse files Browse the repository at this point in the history
This option was added in b7e6a17 to the module form, but without the
ability for the admin to set as the default value.
  • Loading branch information
paulholden committed Jan 14, 2025
1 parent 71f5b52 commit 3e229be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/assign/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@

$options = [
ASSIGN_ATTEMPT_REOPEN_METHOD_MANUAL => new lang_string('attemptreopenmethod_manual', 'mod_assign'),
ASSIGN_ATTEMPT_REOPEN_METHOD_AUTOMATIC => new lang_string('attemptreopenmethod_automatic', 'mod_assign'),
ASSIGN_ATTEMPT_REOPEN_METHOD_UNTILPASS => new lang_string('attemptreopenmethod_untilpass', 'mod_assign'),
];
$name = new lang_string('attemptreopenmethod', 'mod_assign');
Expand Down

0 comments on commit 3e229be

Please sign in to comment.