mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-33182 fix mnet enrol E_STRICT issue
This commit is contained in:
parent
f8dfdb524b
commit
2e297453b8
1 changed files with 3 additions and 2 deletions
|
@ -72,9 +72,10 @@ class enrol_mnet_addinstance_form extends moodleform {
|
||||||
* Do not allow multiple instances for single remote host
|
* Do not allow multiple instances for single remote host
|
||||||
*
|
*
|
||||||
* @param array $data raw form data
|
* @param array $data raw form data
|
||||||
* @return array
|
* @param array $files
|
||||||
|
* @return array of errors
|
||||||
*/
|
*/
|
||||||
function validation($data) {
|
function validation($data, $files) {
|
||||||
global $DB;
|
global $DB;
|
||||||
|
|
||||||
$errors = array();
|
$errors = array();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue