mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-33182 fix mnet enrol E_STRICT issue
This commit is contained in:
parent
f8dfdb524b
commit
2e297453b8
@ -72,9 +72,10 @@ class enrol_mnet_addinstance_form extends moodleform {
|
||||
* Do not allow multiple instances for single remote host
|
||||
*
|
||||
* @param array $data raw form data
|
||||
* @return array
|
||||
* @param array $files
|
||||
* @return array of errors
|
||||
*/
|
||||
function validation($data) {
|
||||
function validation($data, $files) {
|
||||
global $DB;
|
||||
|
||||
$errors = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user