MDL-9286 Incorrect setting of defaults for rpc_negotiation_timeout ; merged from MOODLE_18_STABLE

This commit is contained in:
skodak 2007-04-11 13:01:14 +00:00
parent d19d228e7c
commit 5671e77f13

View File

@ -695,7 +695,7 @@ class auth_plugin_mnet extends auth_plugin_base {
function process_config($config) {
// set to defaults if undefined
if (!isset ($config->rpc_negotiation_timeout)) {
$config->host = '30';
$config->rpc_negotiation_timeout = '30';
}
if (!isset ($config->auto_add_remote_users)) {
$config->auto_add_remote_users = '0';