From 3e229be7ea43bc2129b1c8183feafd6fc296a2ca Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Tue, 14 Jan 2025 14:02:15 +0000 Subject: [PATCH] MDL-84205 mod_assign: allow automatic reopen method to admin defaults. This option was added in b7e6a176 to the module form, but without the ability for the admin to set as the default value. --- mod/assign/settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/assign/settings.php b/mod/assign/settings.php index ea3721763611a..8e99ae1de2c13 100644 --- a/mod/assign/settings.php +++ b/mod/assign/settings.php @@ -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');