removed actions
This commit is contained in:
@@ -15,7 +15,7 @@ class WrenchJobs extends BaseController
|
||||
public function getJobsData() {
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
//$in["action"] = WRENCHBOARD_ACCOUNT_JOBLIST; dont send this line , the formater will be confused
|
||||
//$in["action"] = WRENCHBOARD_ACCOUNT_JOBLIST; dont send this line , the formater will be confused
|
||||
$out=[];
|
||||
$endpoint = "JOB_DATA-". $in["uid"];
|
||||
|
||||
@@ -25,7 +25,7 @@ class WrenchJobs extends BaseController
|
||||
$out = $this->APIcall('GET', $local_url, $in);
|
||||
$this->saveCache($endpoint,$out,15000);
|
||||
$out['internal_return'] = 0; // just backwad comaptobility
|
||||
log_message('critical', "***** ***** WrenchJobs::getJobsData Cache Done:::Ret ". $ret);
|
||||
log_message('critical', "***** ***** WrenchJobs::getJobsData Cache Done:::Ret ");
|
||||
}
|
||||
log_message('critical', "***** ***** WrenchJobs::getJobsData Ret ");
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 200);
|
||||
|
||||
Reference in New Issue
Block a user