mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-23220 Fixed undefined configuration value - thanks to Dan Marsden for the patch
This commit is contained in:
parent
94cf0a1e56
commit
09c1b1a214
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user