Merge branch 'MDL-29435' of git://github.com/mouneyrac/moodle
[moodle.git] / webservice / soap / locallib.php
index e2d3f4f..fd49087 100644 (file)
@@ -113,7 +113,7 @@ class webservice_soap_server extends webservice_zend_server {
             $this->zend_server->setReturnResponse(true);
             //TODO: the error handling in Zend Soap server is useless, XML-RPC is much, much better :-(
             $this->zend_server->registerFaultException('moodle_exception');
-            $this->zend_server->registerFaultException('webservice_parameter_exception');
+            $this->zend_server->registerFaultException('webservice_parameter_exception'); //deprecated since Moodle 2.2 - kept for backward compatibility
             $this->zend_server->registerFaultException('invalid_parameter_exception');
             $this->zend_server->registerFaultException('invalid_response_exception');
             //when DEBUG >= NORMAL then the thrown exceptions are "casted" into a PHP SoapFault expception