webservice MDL-20808 removing managing default from service_class_method_body()

This commit is contained in:
jerome mouneyrac 2010-07-12 10:51:26 +00:00
parent 64d05f1380
commit d6cae0311a

View File

@ -726,12 +726,6 @@ class '.$classname.' {
if ($params){
$paramstocast = split(',', $params);
foreach ($paramstocast as $paramtocast) {
//clean the parameter name from any potential default value assignment
// i.e. if the param is: $search = ''
// we only want: $search
$paramtocast = split('=', $paramtocast);
$paramtocast = $paramtocast[0];
//clean the parameter from any white space
$paramtocast = trim($paramtocast);
$castingcode .= $paramtocast .