isolate backend call

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-16 16:21:06 -04:00
parent 7c4aae2430
commit eac14198df
+5 -3
View File
@@ -21,10 +21,11 @@ class BackendModel extends Model
}
public function wrenchboard_api($in, $out = array()) {
public function wrenchboard_api($in, &$out = array()) {
log_message('critical', "wrenchboard_api-STARTING" );
$this->wrenchboard_load();
$out = $in;
$ret =1;
/* $this->wrenchboard_load();
if (!is_array($in)) {
$in = array();
}
@@ -40,6 +41,7 @@ class BackendModel extends Model
error_log(json_encode($in));
}
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
*/
return $ret;
}