back end call
This commit is contained in:
@@ -23,8 +23,6 @@ class BackendModel extends Model
|
||||
|
||||
public function wrenchboard_api($in, &$out = array()) {
|
||||
log_message('critical', "wrenchboard_api-STARTING" );
|
||||
$out = $in;
|
||||
$ret = 1333320;
|
||||
|
||||
$this->wrenchboard_load();
|
||||
if (!is_array($in)) {
|
||||
@@ -41,17 +39,11 @@ class BackendModel extends Model
|
||||
error_log($log);
|
||||
error_log(json_encode($in));
|
||||
}
|
||||
/* $ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
*/
|
||||
|
||||
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
return $ret;
|
||||
}
|
||||
|
||||
// public function wrenchboard_api2($in, $out) {
|
||||
// $this->wrenchboard_load();
|
||||
// $ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
// return $ret;
|
||||
// }
|
||||
|
||||
public function logMessage($str) {
|
||||
$this->wrenchboard_load();
|
||||
if ($str == NULL || trim($str) == '') {
|
||||
|
||||
Reference in New Issue
Block a user