[AMOS commit] MDL-80741 mod_assign: Remove 'none' from 'attemptreopenmethod' setting Committed into Git: 2024-03-19 04:47 UTC

[AMOS commit] MDL-80741 mod_assign: Remove 'none' from 'attemptreopenmethod' setting Committed into Git: 2024-03-19 04:47 UTC

by AMOS bot -
Number of replies: 0
Author: Mihail Geshoski
MDL-80741 mod_assign: Remove 'none' from 'attemptreopenmethod' setting
The default option "ASSIGN_ATTEMPT_REOPEN_METHOD_NONE" for the
"attemptreopenmethod" setting, which disallows multiple attempts at the
assignment, has been removed. This option was unnecessary because
limiting attempts to 1 through the "maxattempts" setting achieves the
same behavior.
Apart from removing this setting option (including removal of usage in
code and updating existing data in the DB), these changes include:
- Introducing a more effective progressive disclosure by allowing the
"maxattempts" setting to control the visibility of the
"attemptreopenmethod" setting in the form.
- String improvements to the labels and help text for the "maxattempts"
and "attemptreopenmethod" settings
- Changing the default value of the "maxattempts" setting from
"unlimited" to "1"


http://git.moodle.org/gw?p=moodle.git;a=commit;h=d5e79601398983f371e8adf1da18511df93c579e
http://github.com/moodle/moodle/commit/d5e79601398983f371e8adf1da18511df93c579e

+ 4.5 en [attemptreopenmethod,mod_assign]
+ 4.5 en [attemptreopenmethod_help,mod_assign]
+ 4.5 en [maxattempts,mod_assign]