Backend Service

This commit is contained in:
2019-03-18 23:40:24 +00:00
parent be67ec3729
commit 12e545f6ad
2 changed files with 11 additions and 10 deletions
+4 -5
View File
@@ -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;
}
?>