mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
64b6651cfa
In the issue MDL-39319 (6ddf92c77), the ability to uninstall multiple language packs at once was added. By a mistake, the PARAM_ALPHAEXT was used as paramater type for the dash-separated list of language packs to be uninstalled. Language packs with a number in the name (such as en_us_k12) do not pass the ALPHAEXT cleaning. This patch changes the parameter cleaning to PARAM_SAFEPATH which is more appropriate for the given scenario as language code themselves must be SAFEDIRs.