MDL-23220 Fixed undefined configuration value - thanks to Dan Marsden for the patch

This commit is contained in:
David Mudrak 2010-07-13 11:29:35 +00:00
parent 94cf0a1e56
commit 09c1b1a214

View File

@ -152,8 +152,8 @@ class auth_plugin_mnet extends auth_plugin_base {
}
// set RPC timeout to 30 seconds if not configured
// TODO: Is this needed/useful/problematic?
if (empty($this->config->rpc_negotiation_timeout)) {
$this->config->rpc_negotiation_timeout = 30;
set_config('rpc_negotiation_timeout', '30', 'auth_mnet');
}