Skip to content

Commit 7c03fd4

Browse files
committed
Removed deprecated method no longer used.
1 parent 3c4c758 commit 7c03fd4

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

ToolkitApi/ToolkitServiceParameter.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -386,44 +386,6 @@ public function isReturn()
386386
return $this->returnParameter;
387387
}
388388

389-
/**
390-
* updates $arrParams, so pass it by reference.
391-
* $arrParms is an array of parameter arrays or objects.
392-
*
393-
* @deprecated Can't find where this function is used.
394-
*
395-
* @param $arrParams
396-
* @param array $arrValues
397-
*/
398-
static function UpdateParameterValues(&$arrParams, array $arrValues)
399-
{
400-
if (!is_array($arrValues) || !is_array($arrParams)) {
401-
return false;
402-
}
403-
404-
// loop through all values passed in
405-
foreach($arrValues as $varName =>$newData) {
406-
// for each value, loop through all params at this level to see if the names match.
407-
// find a param matching value passed in.
408-
foreach ($arrParams as $single) {
409-
// if a data structure, get inner array and call self recursively.
410-
if (is_object($single) && $single->isDS()) {
411-
$arr = $single->getParamValue();
412-
self::UpdateParameterValues($arr, array ($varName =>$newData));
413-
} else {
414-
// regular param, not a ds. could be an array of values, though.
415-
$paramName =$single->getParamName();
416-
417-
if ($paramName === $varName) {
418-
//$single->setParamValue(self::handleParamValue($newData)); // if data is an array; not done right
419-
$single->setParamValue($newData);
420-
break;
421-
}
422-
}
423-
}
424-
}
425-
}
426-
427389
/**
428390
* bin2str is used by the 5250 Bridge. It converts a hex string to character string
429391
* while cleaning up unexpected characters.

0 commit comments

Comments
 (0)