MDL-77007 core_form: Remove deprecated moodle-form-passwordunmask

This commit is contained in:
Andrew Nicols 2023-01-24 14:08:36 +08:00
parent df502b3e4c
commit 84929c01f7
7 changed files with 6 additions and 39 deletions

6
lib/form/upgrade.txt Normal file
View File

@ -0,0 +1,6 @@
This files describes API changes in core_form libraries and APIs,
information provided here is intended especially for developers.
=== 4.2 ===
* The moodle-form-passwordunmask module has been removed. It was deprecated in Moodle 3.2.

View File

@ -1,10 +0,0 @@
YUI.add('moodle-form-passwordunmask', function (Y, NAME) {
M.form = M.form || {};
M.form.passwordunmask = function() {
Y.log("The moodle-form-passwordunmask module has been deprecated. " +
"Please use the core_form/passwordunmask amd module instead.", 'moodle-form-passwordunmask', 'warn');
};
}, '@VERSION@', {"requires": []});

View File

@ -1 +0,0 @@
YUI.add("moodle-form-passwordunmask",function(o,r){M.form=M.form||{},M.form.passwordunmask=function(){}},"@VERSION@",{requires:[]});

View File

@ -1,8 +0,0 @@
YUI.add('moodle-form-passwordunmask', function (Y, NAME) {
M.form = M.form || {};
M.form.passwordunmask = function() {
};
}, '@VERSION@', {"requires": []});

View File

@ -1,10 +0,0 @@
{
"name": "moodle-form-passwordunmask",
"builds": {
"moodle-form-passwordunmask": {
"jsfiles": [
"passwordunmask.js"
]
}
}
}

View File

@ -1,5 +0,0 @@
M.form = M.form || {};
M.form.passwordunmask = function() {
Y.log("The moodle-form-passwordunmask module has been deprecated. " +
"Please use the core_form/passwordunmask amd module instead.", 'moodle-form-passwordunmask', 'warn');
};

View File

@ -1,5 +0,0 @@
{
"moodle-form-passwordunmask": {
"requires": []
}
}