mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
73bc677346
This service is different from the rest because it doesn't run encrypted, but plain xmlrpc. Hence, we cannot use the normal mnet_xmlrpc_client (that provides on-the-fly encryption and signing). So, instead, let's instantiate a custom client here and use it for this pure xmlrpc request and response. PS: It's curious that this exact sevice has support for proxies but the mnet_xmlrpc_client one has not. I'm not going to modify that here, but have left a comment in the code about that. PS: Some small style changes have been applied around the modified code (spacing, &&, comments...)