Added support to Moodle v3.3+

This commit is contained in:
Dani Tome
2018-05-30 12:57:25 +02:00
parent 893f4d83c5
commit 6d30969f42
3 changed files with 40 additions and 67 deletions

View File

@@ -123,21 +123,6 @@ class auth_plugin_ip extends auth_plugin_manual {
return false;
}
/**
* Prints a form for configuring this authentication plugin.
*
* This function is called from admin/auth.php, and outputs a full page with
* a form for configuring this plugin.
*
* @param array $config An object containing all the data for this page.
* @param string $error
* @param array $user_fields
* @return void
*/
function config_form($config, $error, $user_fields) {
include 'config.html';
}
/**
* Updates the list of IPs and sends a notification by email.
*