[AMOS commit] MDL-69772 admin: Better validation for the allcountrycodes setting Committed into Git: 2020-09-24 12:57 UTC

[AMOS commit] MDL-69772 admin: Better validation for the allcountrycodes setting Committed into Git: 2020-09-24 12:57 UTC

by AMOS bot -
Number of replies: 0
Author: David Mudrák
MDL-69772 admin: Better validation for the allcountrycodes setting
The patch introduces a new admin_setting fiela type that can be used for
specifying comma separated list of countries. The field has inbuilt
validation so that only valid country codes can be inserted.


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

+ 4.0 en [invalidcountrycode,core_error]