mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
webservice MDL-20808 removing managing default from service_class_method_body()
This commit is contained in:
parent
64d05f1380
commit
d6cae0311a
@ -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 .
|
||||
|
Loading…
x
Reference in New Issue
Block a user