Backend Service
This commit is contained in:
@@ -155,7 +155,6 @@ switch ( $in["action"] ) {
|
||||
// configure
|
||||
// update
|
||||
// delete/stop
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -179,10 +178,9 @@ function flatten($data, $parentkey = "") {
|
||||
return $result;
|
||||
}
|
||||
|
||||
function processOutJson($in, $out) {
|
||||
function processOutJson($in, &$out) {
|
||||
|
||||
switch ($in["action"]) {
|
||||
|
||||
|
||||
case MERMS_USER_PRACTICES:
|
||||
if ( $in["task_mode"] == MODE_GETVALUE )
|
||||
{
|
||||
@@ -231,6 +229,7 @@ function processOutJson($in, $out) {
|
||||
} // "request_id"
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
||||
@@ -239,7 +238,7 @@ function processOutJson($in, $out) {
|
||||
default:
|
||||
return $out;
|
||||
}
|
||||
|
||||
|
||||
return $res;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user