Fixed name consistency in registration.soap web services - fixes CT#1905

skala
Diego Escalante Urrelo 14 years ago
parent 0be8da5c6d
commit 3224b85781
  1. 6
      main/webservices/registration.soap.php

@ -3403,7 +3403,7 @@ function WSDeleteSession($params) {
/** WSSubscribeUsersToCourse **/
/** WSSubscribeUserToCourse **/
// Register the data structures used by the service
$server->wsdl->addComplexType(
@ -3457,8 +3457,8 @@ $server->register('WSSubscribeUserToCourse', // method name
'This service subscribes a user to a course' // documentation
);
// define the method WSSubscribeUsersToCourse
function WSSubscribeUsersToCourse($params) {
// define the method WSSubscribeUserToCourse
function WSSubscribeUserToCourse($params) {
if(!WSHelperVerifyKey($params)) {
return -1;

Loading…
Cancel
Save